Correct toString() method in User class.

This commit is contained in:
Luke Taylor 2009-12-08 00:16:08 +00:00
parent 1dc4bb112e
commit cde9cd6b36
1 changed files with 2 additions and 2 deletions

View File

@ -225,9 +225,9 @@ public class User implements UserDetails {
boolean first = true; boolean first = true;
for (GrantedAuthority auth : authorities) { for (GrantedAuthority auth : authorities) {
if (!first) { if (!first) {
sb.append(", "); sb.append(",");
first = false;
} }
first = false;
sb.append(auth); sb.append(auth);
} }