This commit is contained in:
j2blake 2011-11-10 22:21:57 +00:00
parent 28278b5d6b
commit 7fc674b23f

View file

@ -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()) {