Fix Javadoc warnings in Argon2PasswordEncoder

Wrap bit-shift expressions in {@code ...} so that Javadoc does not parse
'<' as HTML and emit invalid input warnings.

Signed-off-by: Jeongwon Been <congcoding@gmail.com>
This commit is contained in:
Jeongwon Been 2026-01-18 16:51:02 +09:00 committed by Rob Winch
parent bf6bed01af
commit d07d3a13d1

View File

@ -86,7 +86,7 @@ public class Argon2PasswordEncoder extends AbstractValidatingPasswordEncoder {
/**
* Constructs an Argon2 password encoder with a salt length of 16 bytes, a hash length
* of 32 bytes, parallelism of 1, memory cost of 1 << 12 and 3 iterations.
* of 32 bytes, parallelism of 1, memory cost of {@code 1 << 12} and 3 iterations.
* @return the {@link Argon2PasswordEncoder}
* @since 5.8
* @deprecated Use {@link #defaultsForSpringSecurity_v5_8()} instead
@ -98,7 +98,7 @@ public class Argon2PasswordEncoder extends AbstractValidatingPasswordEncoder {
/**
* Constructs an Argon2 password encoder with a salt length of 16 bytes, a hash length
* of 32 bytes, parallelism of 1, memory cost of 1 << 14 and 2 iterations.
* of 32 bytes, parallelism of 1, memory cost of {@code 1 << 14} and 2 iterations.
* @return the {@link Argon2PasswordEncoder}
* @since 5.8
*/