Skip to content

Commit 7730403

Browse files
elisheva-qlogicsduskis
authored andcommitted
---
yaml --- r: 19839 b: refs/heads/autosynth-language c: b92a48b h: refs/heads/master i: 19837: 11a4f4c 19835: c1b09d9 19831: 4f51379 19823: 20af790 19807: f7d4e07 19775: 95ddf10 19711: 33558b2
1 parent 02ba193 commit 7730403

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
@@ -134,7 +134,7 @@ refs/heads/autosynth-errorreporting: 1101a04e8be074802c35332d5fcf8297f61cae32
134134
refs/heads/autosynth-firestore: d1a44f9acc302750e37b008ecb9c1aa535cc94df
135135
refs/heads/autosynth-iot: f03bdd338a9056ca3b7ea6d9ca901649ba9aab78
136136
refs/heads/autosynth-kms: 2828edfe3d2c53dd6e71912eae8a53c87bf40c87
137-
refs/heads/autosynth-language: 9c47e1b4ff84f5ac07b0b38848e662c0e7eb3dad
137+
refs/heads/autosynth-language: b92a48b90f0f6b5b0749afe30523a9097958229b
138138
refs/heads/autosynth-os-login: a88a337797996a205873040a63abe1d3116f5789
139139
refs/heads/autosynth-redis: 0cdb2e47359d51b73763bcea8af3de62aa99119b
140140
refs/heads/autosynth-scheduler: d97f8743ba965c7d5e492c8dc1f51d023104e260

branches/autosynth-language/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-language/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-language/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)