mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 06:51:17 +07:00
simplify:inline variale
This commit is contained in:
@@ -601,8 +601,8 @@ public class GitCheckinEnvironment implements CheckinEnvironment {
|
||||
c.gridy = 0;
|
||||
c.weightx = 1;
|
||||
c.fill = GridBagConstraints.HORIZONTAL;
|
||||
final List<String> usersList = getUsersList(project);
|
||||
final Set<String> authors = new HashSet<String>(usersList);
|
||||
|
||||
Set<String> authors = new HashSet<String>(getUsersList(project));
|
||||
ContainerUtil.addAll(authors, mySettings.getCommitAuthors());
|
||||
List<String> list = new ArrayList<String>(authors);
|
||||
Collections.sort(list);
|
||||
|
||||
Reference in New Issue
Block a user