Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore: release gapic-generator-java v1.0.17 (#369)
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 388499329

Source-Link: googleapis/googleapis@bb0a090

Source-Link: googleapis/googleapis-gen@d196f38
  • Loading branch information
gcf-owl-bot[bot] committed Aug 4, 2021
1 parent fa3df7e commit 93912b3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
Expand Up @@ -350,7 +350,13 @@ public UnaryCallable<ImportCatalogItemsRequest, Operation> importCatalogItemsCal

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -260,7 +260,13 @@ public GrpcOperationsStub getOperationsStub() {

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -142,7 +142,13 @@ public UnaryCallable<PredictRequest, PredictPagedResponse> predictPagedCallable(

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -322,7 +322,13 @@ public UnaryCallable<ImportUserEventsRequest, Operation> importUserEventsCallabl

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down

0 comments on commit 93912b3

Please sign in to comment.