Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 40abd6d

Browse files
chore: generate libraries at Mon Mar 2 15:20:24 UTC 2026
1 parent b802f0a commit 40abd6d

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection/MutableCredentials.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ public class MutableCredentials extends Credentials {
3939
private volatile ServiceAccountCredentials delegate;
4040
private final List<String> scopes;
4141

42-
4342
public MutableCredentials(ServiceAccountCredentials credentials, List<String> scopes) {
44-
this.scopes = new java.util.ArrayList<>(scopes);
45-
delegate = (ServiceAccountCredentials) credentials.createScoped(this.scopes);
43+
this.scopes = new java.util.ArrayList<>(scopes);
44+
delegate = (ServiceAccountCredentials) credentials.createScoped(this.scopes);
4645
}
46+
4747
/**
4848
* Replaces the current delegate with a newly scoped credentials instance.
4949
*

google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/ITMutableCredentialsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,3 @@ public void testMutableCredentialsUpdateAuthorizationForRunningClient() throws I
9292
}
9393
}
9494
}
95-

google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/MutableCredentialsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,3 @@ private void setupUpdatedCredentials() throws IOException {
106106
when(updatedScopedCredentials.hasRequestMetadataOnly()).thenReturn(false);
107107
}
108108
}
109-

0 commit comments

Comments
 (0)