mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Extended User.toString to also include fields added recently
This commit is contained in:
1 parent
5847b016ce
commit
1ae892f993
1 file changed
+2
-1
@@ -263,7 +263,8 @@ public class User implements NamedWithID {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "User [name=" + name + ", email=" + email + (isEmailValidated()?" (validated)":")")+", roles="
|
||||
return "User [name=" + name + ", email=" + email + ", fullName=" + fullName + ", company=" + company
|
||||
+ ", locale=" + locale + (isEmailValidated() ? " (validated)" : ")") + ", roles="
|
||||
+ Arrays.toString(roles.toArray(new String[roles.size()])) + ", accounts="
|
||||
+ Arrays.toString(accounts.keySet().toArray(new AccountType[accounts.size()])) + "]";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user