Typo in Base64StringKeyGenerator exception message
Signed-off-by: James Howe <675056+OrangeDog@users.noreply.github.com>
This commit is contained in:
committed by
Josh Cummings
parent
f93a7a2f85
commit
8d7f6acab6
+1
-1
@@ -68,7 +68,7 @@ public class Base64StringKeyGenerator implements StringKeyGenerator {
|
||||
throw new IllegalArgumentException("encode cannot be null");
|
||||
}
|
||||
if (keyLength < DEFAULT_KEY_LENGTH) {
|
||||
throw new IllegalArgumentException("keyLength must be greater than or equal to" + DEFAULT_KEY_LENGTH);
|
||||
throw new IllegalArgumentException("keyLength must be greater than or equal to " + DEFAULT_KEY_LENGTH);
|
||||
}
|
||||
this.encoder = encoder;
|
||||
this.keyGenerator = KeyGenerators.secureRandom(keyLength);
|
||||
|
||||
Reference in New Issue
Block a user