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);
|
return new ProxyInfo(userUri, label, classLabel, imageUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
private String assembleUserAccountLabel(UserAccount userAccount) {
|
private String assembleUserAccountLabel(UserAccount ua) {
|
||||||
String last = userAccount.getLastName();
|
String last = ua.getLastName();
|
||||||
String first = userAccount.getFirstName();
|
String first = ua.getFirstName();
|
||||||
if (last.isEmpty()) {
|
if (last.isEmpty()) {
|
||||||
return first;
|
return first;
|
||||||
} else if (first.isEmpty()) {
|
} else if (first.isEmpty()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue