Skip to content

Commit abe1b95

Browse files
abhinav-qlogicsduskis
authored andcommitted
---
yaml --- r: 34559 b: refs/heads/autosynth-tasks c: 9d9404b h: refs/heads/master i: 34557: 094b9ee 34555: 50c35e8 34551: d4d7db9 34543: 87e9b2b 34527: 40f4205 34495: 9ce7ee8 34431: b1e96c8 34303: ba78057
1 parent 0f99161 commit abe1b95

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ refs/heads/autosynth-redis: 2b698ebe7faaa0b93246576a88941682e0888e57
139139
refs/heads/autosynth-scheduler: a3de6480746d1cd586ca8b9d75c55a636f371539
140140
refs/heads/autosynth-spanner: d963fe4368e79cf6abae5d511785e8ced8ac57f4
141141
refs/heads/autosynth-speech: c563dcd420cce0a37c39b1b9c24be1b9ba604dc7
142-
refs/heads/autosynth-tasks: b2dc157752bd9421852da50d941557bf72cd935e
142+
refs/heads/autosynth-tasks: 9d9404b35b673a885e270b39b8c441d35c5bdadd
143143
refs/heads/autosynth-texttospeech: 2c442fe0b7f089fbab266edfe4dd83c532e82dd0
144144
refs/heads/autosynth-trace: c94eef6e4d9c6fd24888216e28ca7271959c1cf0
145145
refs/heads/autosynth-websecurityscanner: fa561b356aabcd92d415ae8dc88fd8d87dbc5b23

branches/autosynth-tasks/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/FirestoreImpl.java

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import com.google.cloud.firestore.spi.v1.FirestoreRpc;
3030
import com.google.common.base.Preconditions;
3131
import com.google.common.collect.ImmutableMap;
32+
import com.google.common.util.concurrent.MoreExecutors;
3233
import com.google.firestore.v1.BatchGetDocumentsRequest;
3334
import com.google.firestore.v1.BatchGetDocumentsResponse;
3435
import com.google.firestore.v1.DatabaseRootName;
@@ -339,9 +340,11 @@ public void onSuccess(List<WriteResult> writeResults) {
339340
span.end();
340341
resultFuture.set(userResult);
341342
}
342-
});
343+
},
344+
MoreExecutors.directExecutor());
343345
}
344-
});
346+
},
347+
MoreExecutors.directExecutor());
345348
}
346349

347350
private SettableApiFuture<T> invokeUserCallback() {
@@ -396,12 +399,14 @@ public void onFailure(Throwable throwable) {
396399
public void onSuccess(Void ignored) {
397400
resultFuture.setException(throwable);
398401
}
399-
});
402+
},
403+
MoreExecutors.directExecutor());
400404
} else {
401405
resultFuture.setException(throwable);
402406
}
403407
}
404-
});
408+
},
409+
MoreExecutors.directExecutor());
405410
}
406411

407412
/** Returns whether the user has opted into receiving dates as com.google.cloud.Timestamp. */

branches/autosynth-tasks/google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/spi/v1/GrpcFirestoreRpc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public GrpcFirestoreRpc(final FirestoreOptions options) throws IOException {
8585
|| NoCredentials.getInstance().equals(options.getCredentials())) {
8686
ManagedChannel managedChannel =
8787
ManagedChannelBuilder.forTarget(options.getHost())
88-
.usePlaintext(true)
88+
.usePlaintext()
8989
.executor(executor)
9090
.build();
9191
TransportChannel transportChannel = GrpcTransportChannel.create(managedChannel);

0 commit comments

Comments
 (0)