String fullName = id.getProfile().getFullName();
String userName = (String) id.getProfile().getProperty(Profile.USERNAME);
opt.setType("user");
opt.setValue(userName);
opt.setText(fullName);
<BUG>opt.setAvatarUrl(getAvatarURL(id));
excludedIdentityList.add(id);</BUG>
opt.setOrder(4);
nameList.addOption(opt);
}

String fullName = id.getProfile().getFullName();
String userName = (String) id.getProfile().getProperty(Profile.USERNAME);
opt.setType("user");
opt.setValue(userName);
opt.setText(fullName + " (" + userName + ")");
opt.setAvatarUrl(id.getProfile() == null ? null : id.getProfile().getAvatarUrl());
excludedIdentityList.add(id);
opt.setOrder(1);
nameList.addOption(opt);
