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.
2 parents cdf9302 + 96f2d36 commit 17ba69dCopy full SHA for 17ba69d
firebase-firestore/src/main/java/com/google/firebase/firestore/bundle/BundleReader.java
@@ -160,7 +160,7 @@ private int indexOfOpenBracket() {
160
* <p>Returns a string decoded from the read bytes.
161
*/
162
private String readJsonString(int length) throws IOException {
163
- StringBuilder json = new StringBuilder();
+ StringBuilder json = new StringBuilder(length);
164
165
int remaining = length;
166
while (remaining > 0) {
0 commit comments