Fix copied comments :)

This commit is contained in:
Daniel Brauner 2022-01-18 22:56:17 +01:00
parent cc3cfea5fa
commit add33e339c
1 changed files with 3 additions and 4 deletions

View File

@ -543,14 +543,13 @@ class NestedResultQuery extends NestedResult {
}
}
// Every query should be unique.
// Because it is currently not possible to reuse result classes from queries
// that use nested queries, every instance should be different. Therefore
// the object hashCode and equality operator is just fine.
/// [hashCode] that matches [isCompatibleTo] instead of `==`.
@override
int get compatibilityHashCode => hashCode;
/// Checks whether this is compatible to the [other] nested result, which is
/// the case iff they have the same and read from the same table.
@override
bool isCompatibleTo(NestedResult other) => this == other;
}