Skip to content

Commit

Permalink
sonarqube fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Dec 5, 2023
1 parent 06e6504 commit d257490
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,7 @@ private void buildUsersPopup() {
JCheckBoxMenuItem mi = new JCheckBoxMenuItem(ru.getPrincipalId());
mi.putClientProperty("CheckBoxMenuItem.selectionBackground", DefaultColorTheme.COLOR_LOGO_GREEN);
mi.setIcon(UserSettings.getInstance().getUserSmallIcon(ru.getPrincipalId()));
if (Arrays.asList(selectedUsers).contains(ru.getPrincipalId())) {
mi.setSelected(true);
} else {
mi.setSelected(false);
}
mi.setSelected(Arrays.asList(selectedUsers).contains(ru.getPrincipalId()));
popUserFilter.add(mi);

}
Expand Down

0 comments on commit d257490

Please sign in to comment.