This repository was archived by the owner on Apr 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ public class ITMutableCredentialsTest extends ITAbstractSpannerTest {
4949 public void testMutableCredentialsUpdateAuthorizationForRunningClient () throws IOException {
5050
5151 GoogleCredentials credentialsFromFile ;
52- try (InputStream stream = ITMutableCredentialsTest .class .getResourceAsStream (VALID_KEY_RESOURCE )) {
52+ try (InputStream stream =
53+ ITMutableCredentialsTest .class .getResourceAsStream (VALID_KEY_RESOURCE )) {
5354 assertNotNull ("Missing test resource: " + VALID_KEY_RESOURCE , stream );
5455 credentialsFromFile = GoogleCredentials .fromStream (stream );
5556 }
@@ -59,7 +60,8 @@ public void testMutableCredentialsUpdateAuthorizationForRunningClient() throws I
5960
6061 ServiceAccountCredentials validCredentials = (ServiceAccountCredentials ) credentialsFromFile ;
6162 ServiceAccountCredentials invalidCredentials ;
62- try (InputStream stream = ITMutableCredentialsTest .class .getResourceAsStream (INVALID_KEY_RESOURCE )) {
63+ try (InputStream stream =
64+ ITMutableCredentialsTest .class .getResourceAsStream (INVALID_KEY_RESOURCE )) {
6365 assertNotNull ("Missing test resource: " + INVALID_KEY_RESOURCE , stream );
6466 invalidCredentials = ServiceAccountCredentials .fromStream (stream );
6567 }
You can’t perform that action at this time.
0 commit comments