Skip to content

Commit 29f058e

Browse files
elisheva-qlogicsduskis
authored andcommitted
---
yaml --- r: 18103 b: refs/heads/pubsub-ordering-keys c: b92a48b h: refs/heads/master i: 18101: 7925072 18099: dc0f9d3 18095: 524f133
1 parent 98e04b0 commit 29f058e

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
@@ -159,7 +159,7 @@ refs/tags/v0.72.0: a7703f2593ba312c0b2dde6fdfd4f5c764bb55ac
159159
refs/tags/v0.73.0: 21241ea8be9439cc5764c4944cdce21d34ce4f9e
160160
refs/tags/v0.74.0: 9d1f733dbbf790de7b494418523b69c4a9a57638
161161
refs/heads/ignoretest: 23c412ae07af3d0ab1caa2d44d5bc5c0ccb8b31d
162-
refs/heads/pubsub-ordering-keys: 9c47e1b4ff84f5ac07b0b38848e662c0e7eb3dad
162+
refs/heads/pubsub-ordering-keys: b92a48b90f0f6b5b0749afe30523a9097958229b
163163
"refs/heads/update_mvn_badge": ae2d773814db0f71197ccf5a8612ee1d8056f8de
164164
refs/tags/v0.75.0: c3673089ae09a897c1b4cf7dfe167fe4f8ab32fb
165165
refs/tags/v0.76.0: 395b016826d3ddf9cb8b34919636df15a4dbd032

branches/pubsub-ordering-keys/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/pubsub-ordering-keys/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/pubsub-ordering-keys/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)