Skip to content

Commit 9d18b1e

Browse files
elisheva-qlogicsduskis
authored andcommitted
---
yaml --- r: 20035 b: refs/heads/autosynth-os-login c: b92a48b h: refs/heads/master i: 20033: 410b7a7 20031: 15cc324
1 parent dcca665 commit 9d18b1e

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ refs/heads/autosynth-firestore: d1a44f9acc302750e37b008ecb9c1aa535cc94df
135135
refs/heads/autosynth-iot: f03bdd338a9056ca3b7ea6d9ca901649ba9aab78
136136
refs/heads/autosynth-kms: 2828edfe3d2c53dd6e71912eae8a53c87bf40c87
137137
refs/heads/autosynth-language: c3d990dd34d81e7e935041e7147fb9dd27f8a557
138-
refs/heads/autosynth-os-login: 9c47e1b4ff84f5ac07b0b38848e662c0e7eb3dad
138+
refs/heads/autosynth-os-login: b92a48b90f0f6b5b0749afe30523a9097958229b
139139
refs/heads/autosynth-redis: 0cdb2e47359d51b73763bcea8af3de62aa99119b
140140
refs/heads/autosynth-scheduler: d97f8743ba965c7d5e492c8dc1f51d023104e260
141141
refs/heads/autosynth-spanner: 9bff86d057df31e04c76d72865e8e073ac5794fb

branches/autosynth-os-login/google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ public Void call() {
185185

186186
// Handle RPC level errors by wrapping them in a MutateRowsException
187187
ApiFuture<List<MutateRowsResponse>> catching =
188-
ApiFutures.catching(innerFuture, Throwable.class, attemptFailedCallback);
188+
ApiFutures.catching(
189+
innerFuture, Throwable.class, attemptFailedCallback, MoreExecutors.directExecutor());
189190

190191
// Inspect the results and either propagate the success, or prepare to retry the failed
191192
// mutations

branches/autosynth-os-login/google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/it/env/Emulator.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,8 @@ private void waitForPort(int port) throws InterruptedException, TimeoutException
172172
}
173173

174174
private ManagedChannel createChannel(int port) {
175-
// NOTE: usePlaintext is currently @ExperimentalAPI. In grpc 1.11 it be became parameterless.
176-
// In 1.12 it should be stable. See https://github.com/grpc/grpc-java/issues/1772 for discussion
177175
return ManagedChannelBuilder.forAddress("localhost", port)
178-
.usePlaintext(true)
176+
.usePlaintext()
179177
.maxInboundMessageSize(256 * 1024 * 1024)
180178
.build();
181179
}

branches/autosynth-os-login/google-cloud-clients/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ private static String getActiveGoogleCloudConfig(File configDir) {
349349
String activeGoogleCloudConfig = null;
350350
try {
351351
activeGoogleCloudConfig =
352-
Files.readFirstLine(new File(configDir, "active_config"), Charset.defaultCharset());
352+
Files.asCharSource(new File(configDir, "active_config"), Charset.defaultCharset())
353+
.readFirstLine();
353354
} catch (IOException ex) {
354355
// ignore
355356
}

0 commit comments

Comments
 (0)