Skip to content

Commit 739f304

Browse files
committed
changed to singletonlist
1 parent ce0645b commit 739f304

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
@@ -292,7 +292,9 @@ private Tuple<StorageSettings, Opts<UserProject>> resolveSettingsAndOpts() throw
292292
.setEndpoint(endpoint)
293293
.setAllowNonDefaultServiceAccount(true)
294294
.setAttemptDirectPath(attemptDirectPath)
295-
.setAllowHardBoundTokenTypes(Arrays.asList(InstantiatingGrpcChannelProvider.HardBoundTokenTypes.ALTS));
295+
.setAllowHardBoundTokenTypes(
296+
Collections.singletonList(
297+
InstantiatingGrpcChannelProvider.HardBoundTokenTypes.ALTS));
296298

297299
if (!NoopGrpcInterceptorProvider.INSTANCE.equals(grpcInterceptorProvider)) {
298300
channelProviderBuilder.setInterceptorProvider(grpcInterceptorProvider);

0 commit comments

Comments
 (0)