File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
firebase-firestore/src/main/java/com/google/firebase/firestore/core Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ public Operator getOperator() {
44
44
45
45
@ Override
46
46
public List <FieldFilter > getFlattenedFilters () {
47
+ // TODO(orquery): memoize this result if this method is used more than once.
47
48
List <FieldFilter > result = new ArrayList <>();
48
49
for (Filter subfilter : filters ) {
49
50
result .addAll (subfilter .getFlattenedFilters ());
@@ -52,8 +53,8 @@ public List<FieldFilter> getFlattenedFilters() {
52
53
}
53
54
54
55
/**
55
- * Returns the first inequality filter contained within this composite filter. Returns null if it
56
- * does not contain any inequalities.
56
+ * Returns the first inequality filter contained within this composite filter. Returns {@code
57
+ * null} if it does not contain any inequalities.
57
58
*/
58
59
@ Override
59
60
public FieldPath getFirstInequalityField () {
You can’t perform that action at this time.
0 commit comments