File tree 1 file changed +5
-4
lines changed
firebase-firestore/src/main/java/com/google/firebase/firestore/core 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 58
58
import java .util .ArrayList ;
59
59
import java .util .Collections ;
60
60
import java .util .HashMap ;
61
+ import java .util .Iterator ;
61
62
import java .util .LinkedHashSet ;
62
63
import java .util .List ;
63
64
import java .util .Map ;
@@ -710,15 +711,15 @@ private void pumpEnqueuedLimboResolutions() {
710
711
}
711
712
712
713
@ VisibleForTesting
713
- public HashMap <DocumentKey , Integer > getActiveLimboDocumentResolutions () {
714
+ public Map <DocumentKey , Integer > getActiveLimboDocumentResolutions () {
714
715
// Make a defensive copy as the Map continues to be modified.
715
- return new HashMap (activeLimboTargetsByKey );
716
+ return new HashMap <> (activeLimboTargetsByKey );
716
717
}
717
718
718
719
@ VisibleForTesting
719
- public LinkedHashSet <DocumentKey > getEnqueuedLimboDocumentResolutions () {
720
+ public List <DocumentKey > getEnqueuedLimboDocumentResolutions () {
720
721
// Make a defensive copy as the LinkedHashSet continues to be modified.
721
- return new LinkedHashSet (enqueuedLimboResolutions );
722
+ return new ArrayList <> (enqueuedLimboResolutions );
722
723
}
723
724
724
725
public void handleCredentialChange (User user ) {
You can’t perform that action at this time.
0 commit comments