Skip to content

Commit abc2ef1

Browse files
elisheva-qlogicsduskis
authored andcommitted
---
yaml --- r: 13359 b: refs/heads/master c: b92a48b h: refs/heads/master i: 13357: 98ceb1c 13355: fd8a8de 13351: 544f63b 13343: c26030d
1 parent 52cfdf3 commit abc2ef1

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9c47e1b4ff84f5ac07b0b38848e662c0e7eb3dad
2+
refs/heads/master: b92a48b90f0f6b5b0749afe30523a9097958229b
33
refs/heads/gh-pages: b3b44c7d6a577a86c1df125085c5ceff8180a910
44
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
55
refs/tags/v0.0.10: 207ebd2a3472fddee69fe1298eb90429e3306efd

trunk/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

trunk/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
}

trunk/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)