File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
oauth2_http/javatests/com/google/auth/oauth2 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ public void getDefaultCredentials_GdchServiceAccount() throws IOException {
410410
411411 assertNotNull (defaultCredentials );
412412 assertTrue (defaultCredentials instanceof GdchCredentials );
413- assertEquals (GDCH_SA_PROJECT_ID , (( GdchCredentials ) defaultCredentials ) .getProjectId ());
413+ assertEquals (GDCH_SA_PROJECT_ID , defaultCredentials .getProjectId ());
414414 assertEquals (
415415 GDCH_SA_SERVICE_IDENTITY_NAME ,
416416 ((GdchCredentials ) defaultCredentials ).getServiceIdentityName ());
@@ -423,7 +423,7 @@ public void getDefaultCredentials_GdchServiceAccount() throws IOException {
423423 ((GdchCredentials ) defaultCredentials ).createWithGdchAudience (GDCH_SA_API_AUDIENCE );
424424 assertNotNull (defaultCredentials );
425425 assertTrue (defaultCredentials instanceof GdchCredentials );
426- assertEquals (GDCH_SA_PROJECT_ID , (( GdchCredentials ) defaultCredentials ) .getProjectId ());
426+ assertEquals (GDCH_SA_PROJECT_ID , defaultCredentials .getProjectId ());
427427 assertEquals (
428428 GDCH_SA_SERVICE_IDENTITY_NAME ,
429429 ((GdchCredentials ) defaultCredentials ).getServiceIdentityName ());
You can’t perform that action at this time.
0 commit comments