We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c737e21 commit 3b53a5aCopy full SHA for 3b53a5a
firebase-dataconnect/src/main/kotlin/com/google/firebase/dataconnect/util/NullableReference.kt
@@ -15,7 +15,7 @@
15
*/
16
package com.google.firebase.dataconnect.util
17
18
-internal class NullableReference<T>(val ref: T? = null) {
+internal class NullableReference<out T>(val ref: T? = null) {
19
override fun equals(other: Any?) = (other is NullableReference<*>) && other.ref == ref
20
override fun hashCode() = ref?.hashCode() ?: 0
21
override fun toString() = ref?.toString() ?: "null"
0 commit comments