Skip to content

Commit e0645fc

Browse files
authored
chore: fix string format in mock (#1570)
minor fix.
1 parent 7ff6061 commit e0645fc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

oauth2_http/javatests/com/google/auth/oauth2/MockMetadataServerTransport.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,7 @@ protected boolean isIdentityDocumentUrl(String url) {
334334

335335
protected boolean isMtlsConfigRequestUrl(String url) {
336336
return url.equals(
337-
String.format(
338-
ComputeEngineCredentials.getMetadataServerUrl()
339-
+ SecureSessionAgent.S2A_CONFIG_ENDPOINT_POSTFIX));
337+
ComputeEngineCredentials.getMetadataServerUrl()
338+
+ SecureSessionAgent.S2A_CONFIG_ENDPOINT_POSTFIX);
340339
}
341340
}

0 commit comments

Comments
 (0)