From 3d8070558656e0cd208818e86fe751b8a05c7d1d Mon Sep 17 00:00:00 2001 From: chemelnucfin Date: Tue, 13 Mar 2018 12:30:04 -0700 Subject: [PATCH] Firestore: Removed extra 'a' in ArraySortedMap findkey documentation --- .../com/google/cloud/firestore/collection/ArraySortedMap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/collection/ArraySortedMap.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/collection/ArraySortedMap.java index 7b0c419a3c88..dd23461964d2 100644 --- a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/collection/ArraySortedMap.java +++ b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/collection/ArraySortedMap.java @@ -274,7 +274,7 @@ private static T[] replaceInArray(T[] arr, int pos, T value) { /** * This does a linear scan which is simpler than a binary search. For a small collection size this - * still should be as fast a as binary search. + * still should be as fast as binary search. */ private int findKeyOrInsertPosition(K key) { int newPos = 0; @@ -286,7 +286,7 @@ private int findKeyOrInsertPosition(K key) { /** * This does a linear scan which is simpler than a binary search. For a small collection size this - * still should be as fast a as binary search. + * still should be as fast as binary search. */ private int findKey(K key) { int i = 0;