Skip to content

Commit c59673c

Browse files
committed
changed to singletonlist
1 parent 8817105 commit c59673c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

google-cloud-storage/src/main/java/com/google/cloud/storage/GrpcStorageOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,9 @@ private Tuple<StorageSettings, Opts<UserProject>> resolveSettingsAndOpts() throw
319319
.setEndpoint(endpoint)
320320
.setAllowNonDefaultServiceAccount(true)
321321
.setAttemptDirectPath(attemptDirectPath)
322-
.setAllowHardBoundTokenTypes(Arrays.asList(InstantiatingGrpcChannelProvider.HardBoundTokenTypes.ALTS));
322+
.setAllowHardBoundTokenTypes(
323+
Collections.singletonList(
324+
InstantiatingGrpcChannelProvider.HardBoundTokenTypes.ALTS));
323325

324326
if (!NoopGrpcInterceptorProvider.INSTANCE.equals(grpcInterceptorProvider)) {
325327
channelProviderBuilder.setInterceptorProvider(grpcInterceptorProvider);

0 commit comments

Comments
 (0)