Browse Source

删除重复代码

final/10.0
yaoh.wu 6 years ago
parent
commit
896e6a6ff0
  1. 1
      designer-base/src/main/java/com/fr/design/remote/ui/AuthorityListControlPane.java

1
designer-base/src/main/java/com/fr/design/remote/ui/AuthorityListControlPane.java

@ -256,7 +256,6 @@ public class AuthorityListControlPane extends BasicPane {
DefaultListModel<DesignAuthority> model = (DefaultListModel<DesignAuthority>) authorityList.getModel();
model.clear();
if (authorities != null && !authorities.isEmpty()) {
model.clear();
for (DesignAuthority authority : authorities) {
model.addElement(authority);
}

Loading…
Cancel
Save