Skip to content

Commit d67e1f5

Browse files
committed
Rename method.
1 parent 32fa86e commit d67e1f5

File tree

1 file changed

+2
-2
lines changed
  • firebase-firestore/src/main/java/com/google/firebase/firestore/bundle

1 file changed

+2
-2
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/bundle/BundleReader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private BundleElement readNextElement() throws IOException, JSONException {
102102
}
103103

104104
int jsonStringByteCount = Integer.parseInt(lengthPrefix);
105-
String json = readJson(jsonStringByteCount);
105+
String json = readJsonString(jsonStringByteCount);
106106
bytesRead += lengthPrefix.getBytes(charset).length + jsonStringByteCount;
107107
return decodeBundleElement(json);
108108
}
@@ -160,7 +160,7 @@ private int indexOfOpenBracket() {
160160
*
161161
* <p>Returns an object containing the Json string and its UTF8 byte count.
162162
*/
163-
private String readJson(int bytesToRead) throws IOException {
163+
private String readJsonString(int bytesToRead) throws IOException {
164164
ByteArrayOutputStream jsonBytes = new ByteArrayOutputStream();
165165

166166
int remaining = bytesToRead;

0 commit comments

Comments
 (0)