Removed "== true" in boolean.

This commit is contained in:
Luke Taylor 2006-02-20 00:27:36 +00:00
parent 5475ab0575
commit 52a212e609
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class UsernamePasswordAuthenticationToken
public void setAuthenticated(boolean isAuthenticated)
throws IllegalArgumentException {
if (isAuthenticated == true) {
if (isAuthenticated) {
throw new IllegalArgumentException(
"Cannot set this token to trusted - use constructor containing GrantedAuthority[]s instead");
}