Skip to content

Commit

Permalink
Fix assertion message.
Browse files Browse the repository at this point in the history
See gh-649
  • Loading branch information
bntan authored and mp911de committed Jun 11, 2021
1 parent a5a8fa2 commit 4be649c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -341,7 +341,7 @@ public static SslConfiguration create(Resource keyStore, @Nullable char[] keySto
@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));
Expand Down

0 comments on commit 4be649c

Please sign in to comment.