1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Cleanup unnecessary unboxing

Unboxing is unnecessary under Java 5 and newer, and can be safely removed.
This commit is contained in:
Lars Grefer
2019-08-01 23:30:53 +02:00
committed by Josh Cummings
parent 2306d987e9
commit 2056834432
16 changed files with 21 additions and 23 deletions
@@ -119,7 +119,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
Boolean matches = (Boolean) executeReadOnly(new LdapCompareCallback());
return matches.booleanValue();
return matches;
}
/**
@@ -299,7 +299,7 @@ public class PasswordPolicyResponseControl extends PasswordPolicyControl {
return new BEREnumerated(stream, bytesRead);
}
else {
if (this.inChoice.booleanValue()) {
if (this.inChoice) {
// graceLogins
return new BERInteger(stream, bytesRead);
}