File tree Expand file tree Collapse file tree 15 files changed +24
-20
lines changed
androidMain/kotlin/dev/gitlive/firebase/database
appleMain/kotlin/dev/gitlive/firebase/database
jsMain/kotlin/dev/gitlive/firebase/database
androidMain/kotlin/dev/gitlive/firebase/firestore
appleMain/kotlin/dev/gitlive/firebase/firestore
jsMain/kotlin/dev/gitlive/firebase/firestore Expand file tree Collapse file tree 15 files changed +24
-20
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public actual class ServerValue internal actual constructor(
1414 public actual fun increment (delta : Double ): ServerValue = ServerValue (NativeServerValue .increment(delta))
1515 }
1616
17- override fun equals (other : Any? ): Boolean = this == = other || other is ServerValue && nativeValue == other.nativeValue
17+ override fun equals (other : Any? ): Boolean = this == = other || ( other is ServerValue && nativeValue == other.nativeValue)
1818 override fun hashCode (): Int = nativeValue.hashCode()
1919 override fun toString (): String = " ServerValue($nativeValue )"
2020}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public actual class ServerValue internal actual constructor(
1818 public actual fun increment (delta : Double ): ServerValue = ServerValue (NativeServerValue .increment(delta as NSNumber ))
1919 }
2020
21- override fun equals (other : Any? ): Boolean = this == = other || other is ServerValue && nativeValue == other.nativeValue
21+ override fun equals (other : Any? ): Boolean = this == = other || ( other is ServerValue && nativeValue == other.nativeValue)
2222 override fun hashCode (): Int = nativeValue.hashCode()
2323 override fun toString (): String = " ServerValue($nativeValue )"
2424}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public actual class ServerValue internal actual constructor(
1414 public actual fun increment (delta : Double ): ServerValue = ServerValue (jsIncrement(delta))
1515 }
1616
17- override fun equals (other : Any? ): Boolean = this == = other || other is ServerValue && nativeValue == other.nativeValue
17+ override fun equals (other : Any? ): Boolean = this == = other || ( other is ServerValue && nativeValue == other.nativeValue)
1818 override fun hashCode (): Int = nativeValue.hashCode()
1919 override fun toString (): String = " ServerValue($nativeValue )"
2020}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public actual class FieldValue internal actual constructor(internal actual val n
1111 init {
1212 require(nativeValue is NativeFieldValue )
1313 }
14- override fun equals (other : Any? ): Boolean = this == = other || other is FieldValue && nativeValue == other.nativeValue
14+ override fun equals (other : Any? ): Boolean = this == = other || ( other is FieldValue && nativeValue == other.nativeValue)
1515 override fun hashCode (): Int = nativeValue.hashCode()
1616 override fun toString (): String = nativeValue.toString()
1717
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public actual class GeoPoint internal actual constructor(internal actual val nat
1212 public actual val latitude: Double = nativeValue.latitude
1313 public actual val longitude: Double = nativeValue.longitude
1414
15- override fun equals (other : Any? ): Boolean = this == = other || other is GeoPoint && nativeValue == other.nativeValue
15+ override fun equals (other : Any? ): Boolean = this == = other || ( other is GeoPoint && nativeValue == other.nativeValue)
1616 override fun hashCode (): Int = nativeValue.hashCode()
1717 override fun toString (): String = nativeValue.toString()
1818}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public actual class Timestamp internal actual constructor(
2121 public actual val seconds: Long = nativeValue.seconds
2222 public actual val nanoseconds: Int = nativeValue.nanoseconds
2323
24- override fun equals (other : Any? ): Boolean = this == = other || other is Timestamp && nativeValue == other.nativeValue
24+ override fun equals (other : Any? ): Boolean = this == = other || ( other is Timestamp && nativeValue == other.nativeValue)
2525 override fun hashCode (): Int = nativeValue.hashCode()
2626 override fun toString (): String = nativeValue.toString()
2727
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ internal actual class NativeDocumentReference actual constructor(actual val nati
6969 awaitClose { registration.remove() }
7070 }
7171
72- override fun equals (other : Any? ): Boolean = this == = other || other is NativeDocumentReference && nativeValue == other.nativeValue
72+ override fun equals (other : Any? ): Boolean = this == = other || ( other is NativeDocumentReference && nativeValue == other.nativeValue)
7373 override fun hashCode (): Int = nativeValue.hashCode()
7474 override fun toString (): String = nativeValue.toString()
7575
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public actual class FieldValue internal actual constructor(internal actual val n
1212 init {
1313 require(nativeValue is NativeFieldValue )
1414 }
15- override fun equals (other : Any? ): Boolean = this == = other || other is FieldValue && nativeValue == other.nativeValue
15+ override fun equals (other : Any? ): Boolean = this == = other || ( other is FieldValue && nativeValue == other.nativeValue)
1616 override fun hashCode (): Int = nativeValue.hashCode()
1717 override fun toString (): String = nativeValue.toString()
1818
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public actual class GeoPoint internal actual constructor(internal actual val nat
1313 public actual val latitude: Double = nativeValue.latitude
1414 public actual val longitude: Double = nativeValue.longitude
1515
16- override fun equals (other : Any? ): Boolean = this == = other || other is GeoPoint && nativeValue == other.nativeValue
16+ override fun equals (other : Any? ): Boolean = this == = other || ( other is GeoPoint && nativeValue == other.nativeValue)
1717 override fun hashCode (): Int = nativeValue.hashCode()
1818 override fun toString (): String = nativeValue.toString()
1919}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public actual class Timestamp internal actual constructor(
2020 public actual val seconds: Long = nativeValue.seconds
2121 public actual val nanoseconds: Int = nativeValue.nanoseconds
2222
23- override fun equals (other : Any? ): Boolean = this == = other || other is Timestamp && nativeValue == other.nativeValue
23+ override fun equals (other : Any? ): Boolean = this == = other || ( other is Timestamp && nativeValue == other.nativeValue)
2424 override fun hashCode (): Int = nativeValue.hashCode()
2525 override fun toString (): String = nativeValue.toString()
2626
You can’t perform that action at this time.
0 commit comments