Java 5: Unnecessary Boxing

This commit is contained in:
Lars Grefer 2019-08-09 00:47:42 +02:00 committed by Rob Winch
parent 578d628774
commit 91c846756e
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class PasswordEncoderParser {
boolean useBase64 = false;
if (StringUtils.hasText(element.getAttribute(ATT_BASE_64))) {
useBase64 = Boolean.valueOf(element.getAttribute(ATT_BASE_64));
useBase64 = Boolean.parseBoolean(element.getAttribute(ATT_BASE_64));
}
String ref = element.getAttribute(ATT_REF);