Cleanup unnecessary unboxing
Unboxing is unnecessary under Java 5 and newer, and can be safely removed.
This commit is contained in:
committed by
Josh Cummings
parent
2306d987e9
commit
2056834432
+1
-1
@@ -119,7 +119,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
|
||||
|
||||
Boolean matches = (Boolean) executeReadOnly(new LdapCompareCallback());
|
||||
|
||||
return matches.booleanValue();
|
||||
return matches;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user