cosmetic
This commit is contained in:
parent
28278b5d6b
commit
7fc674b23f
1 changed files with 3 additions and 3 deletions
|
@ -282,9 +282,9 @@ public class UserAccountsMyAccountPage extends UserAccountsPage {
|
|||
return new ProxyInfo(userUri, label, classLabel, imageUrl);
|
||||
}
|
||||
|
||||
private String assembleUserAccountLabel(UserAccount userAccount) {
|
||||
String last = userAccount.getLastName();
|
||||
String first = userAccount.getFirstName();
|
||||
private String assembleUserAccountLabel(UserAccount ua) {
|
||||
String last = ua.getLastName();
|
||||
String first = ua.getFirstName();
|
||||
if (last.isEmpty()) {
|
||||
return first;
|
||||
} else if (first.isEmpty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue