1
0
mirror of synced 2026-07-20 10:05:13 +00:00

Removed "== true" in boolean.

This commit is contained in:
Luke Taylor
2006-02-20 00:27:36 +00:00
parent 5475ab0575
commit 52a212e609
@@ -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");
}