Clean up AccountLinkPanel with lambdas

Dave apologizes for everything looking like a nail.

Change-Id: I0c47ab6e328599fd83caed20979507ef5aefe71b
This commit is contained in:
Dave Borowitz
2016-09-23 04:04:29 -04:00
parent 9c0ab72946
commit 388bc64c08
4 changed files with 32 additions and 70 deletions

View File

@@ -315,7 +315,7 @@ public class AccountGroupMembersScreen extends AccountGroupScreen {
CheckBox checkBox = new CheckBox();
table.setWidget(row, 1, checkBox);
checkBox.setEnabled(enabled);
table.setWidget(row, 2, new AccountLinkPanel(i));
table.setWidget(row, 2, AccountLinkPanel.create(i));
table.setText(row, 3, i.email());
final FlexCellFormatter fmt = table.getFlexCellFormatter();