Skip to content

Commit c220f99

Browse files
Format
1 parent bcadf73 commit c220f99

File tree

9 files changed

+2239
-2385
lines changed

9 files changed

+2239
-2385
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/UserDataWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Object convertValue(Value value) {
5353
switch (value.getValueTypeCase()) {
5454
case MAP_VALUE:
5555
if (ServerTimestampValue.isServerTimestamp(value)) {
56-
return convertServerTimestamp(new ServerTimestampValue(value));
56+
return convertServerTimestamp(new ServerTimestampValue(value));
5757
}
5858
return convertObject(value.getMapValue().getFieldsMap());
5959
case ARRAY_VALUE:

firebase-firestore/src/main/java/com/google/firebase/firestore/core/UserData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public static class ParsedSetData {
329329
private final List<FieldTransform> fieldTransforms;
330330

331331
ParsedSetData(
332-
ObjectValue data, @Nullable FieldMask fieldMask, List<FieldTransform> fieldTransforms) {
332+
ObjectValue data, @Nullable FieldMask fieldMask, List<FieldTransform> fieldTransforms) {
333333
this.data = data;
334334
this.fieldMask = fieldMask;
335335
this.fieldTransforms = fieldTransforms;

firebase-firestore/src/main/java/com/google/firebase/firestore/model/mutation/PatchMutation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public final class PatchMutation extends Mutation {
4444
private final FieldMask mask;
4545

4646
public PatchMutation(
47-
DocumentKey key, ObjectValue value, FieldMask mask, Precondition precondition) {
47+
DocumentKey key, ObjectValue value, FieldMask mask, Precondition precondition) {
4848
super(key, precondition);
4949
this.value = value;
5050
this.mask = mask;

firebase-firestore/src/test/java/com/google/firebase/firestore/QuerySnapshotTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ public void testToObjects() {
8686
.thenReturn(new FirebaseFirestoreSettings.Builder().build());
8787

8888
ObjectValue objectData =
89-
ObjectValue.fromMap(
90-
map("timestamp", ServerTimestampValue.valueOf(Timestamp.now(), null)));
89+
ObjectValue.fromMap(map("timestamp", ServerTimestampValue.valueOf(Timestamp.now(), null)));
9190
QuerySnapshot foo = TestUtil.querySnapshot("foo", map(), map("a", objectData), true, false);
9291

9392
List<POJO> docs = foo.toObjects(POJO.class);

0 commit comments

Comments
 (0)