Skip to content

Commit 7de3149

Browse files
replace String.format call
1 parent 198cdf9 commit 7de3149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/saml/SamlObjectHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private ElasticsearchSecurityException samlSignatureException(Issuer issuer, Lis
268268
}
269269

270270
private String formatIssuer(Issuer issuer) {
271-
return issuer != null ? String.format(" [%s]", issuer.getValue()) : "";
271+
return issuer != null ? Strings.format(" [%s]", issuer.getValue()) : "";
272272
}
273273

274274
private static String describeCredentials(List<Credential> credentials) {

0 commit comments

Comments
 (0)