Skip to content

Commit a467f2e

Browse files
Remove closeable, bump GAX java (#1754)
1 parent 619f1d8 commit a467f2e

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

google-cloud-logging/src/main/java/com/google/cloud/logging/spi/v2/LoggingClient.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ protected LoggingClient(LoggingSettings settings) throws IOException {
148148
UnaryCallable.create(settings.deleteLogSettings(), this.channel, this.executor);
149149
this.writeLogEntriesCallable =
150150
UnaryCallable.create(settings.writeLogEntriesSettings(), this.channel, this.executor);
151-
if (settings.writeLogEntriesSettings().getBundlerFactory() != null) {
152-
closeables.add(settings.writeLogEntriesSettings().getBundlerFactory());
153-
}
154151
this.listLogEntriesCallable =
155152
UnaryCallable.create(settings.listLogEntriesSettings(), this.channel, this.executor);
156153
this.listLogEntriesPagedCallable =

google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/spi/v1/PublisherClient.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,6 @@ protected PublisherClient(PublisherSettings settings) throws IOException {
155155
UnaryCallable.create(settings.createTopicSettings(), this.channel, this.executor);
156156
this.publishCallable =
157157
UnaryCallable.create(settings.publishSettings(), this.channel, this.executor);
158-
if (settings.publishSettings().getBundlerFactory() != null) {
159-
closeables.add(settings.publishSettings().getBundlerFactory());
160-
}
161158
this.getTopicCallable =
162159
UnaryCallable.create(settings.getTopicSettings(), this.channel, this.executor);
163160
this.listTopicsCallable =

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
<github.global.server>github</github.global.server>
9393
<google.auth.version>0.6.0</google.auth.version>
9494
<grpc.version>1.0.3</grpc.version>
95-
<gax.version>0.3.0</gax.version>
95+
<gax.version>0.4.0</gax.version>
9696
<generatedProto.version>0.1.5</generatedProto.version>
9797
<core.version>0.9.5-alpha-SNAPSHOT</core.version>
9898
<beta.version>0.9.5-beta-SNAPSHOT</beta.version>

0 commit comments

Comments
 (0)