Skip to content

Commit 8d7f6ac

Browse files
OrangeDogjzheaux
authored andcommitted
Typo in Base64StringKeyGenerator exception message
Signed-off-by: James Howe <[email protected]>
1 parent f93a7a2 commit 8d7f6ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/src/main/java/org/springframework/security/crypto/keygen/Base64StringKeyGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public Base64StringKeyGenerator(Base64.Encoder encoder, int keyLength) {
6868
throw new IllegalArgumentException("encode cannot be null");
6969
}
7070
if (keyLength < DEFAULT_KEY_LENGTH) {
71-
throw new IllegalArgumentException("keyLength must be greater than or equal to" + DEFAULT_KEY_LENGTH);
71+
throw new IllegalArgumentException("keyLength must be greater than or equal to " + DEFAULT_KEY_LENGTH);
7272
}
7373
this.encoder = encoder;
7474
this.keyGenerator = KeyGenerators.secureRandom(keyLength);

0 commit comments

Comments
 (0)