Fix assertion message.

See gh-649
This commit is contained in:
Bun-Ny TAN
2021-06-11 09:38:29 +02:00
committed by Mark Paluch
parent a5a8fa2745
commit 4be649ca82

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));