\r
// owners palette\r
List<UserChoice> owners = new ArrayList<UserChoice>();\r
+ List<UserChoice> persons = new ArrayList<UserChoice>();\r
for (String owner : repositoryModel.owners) {\r
UserModel o = app().users().getUserModel(owner);\r
if (o != null) {\r
owners.add(new UserChoice(o.getDisplayName(), o.username, o.emailAddress));\r
} else {\r
- owners.add(new UserChoice(owner));\r
+ UserChoice userChoice = new UserChoice(owner);\r
+ owners.add(userChoice);\r
+ persons.add(userChoice);\r
}\r
}\r
- List<UserChoice> persons = new ArrayList<UserChoice>();\r
+\r
for (String person : app().users().getAllUsernames()) {\r
UserModel o = app().users().getUserModel(person);\r
if (o != null) {\r