Fix assertion message.

See gh-649
This commit is contained in:
Bun-Ny TAN
2021-06-11 09:38:29 +02:00
committed by GitHub
parent 1bcc447828
commit bd03f3dfa6

View File

@@ -341,7 +341,7 @@ public class SslConfiguration {
@Nullable char[] trustStorePassword) {
Assert.notNull(keyStore, "KeyStore must not be null");
Assert.isTrue(keyStore.exists(), () -> String.format("KeyStore %s does not exist", trustStore));
Assert.isTrue(keyStore.exists(), () -> String.format("KeyStore %s does not exist", keyStore));
Assert.notNull(trustStore, "TrustStore must not be null");
Assert.isTrue(trustStore.exists(), String.format("TrustStore %s does not exist", trustStore));