mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
style: map changed to map2Set
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ public class CommonCheckinFilesAction extends AbstractCommonCheckinAction {
|
||||
|
||||
private static Collection<LocalChangeList> getChangeListsForRoot(final ChangeListManager changeListManager, final FilePath dirPath) {
|
||||
Collection<Change> changes = changeListManager.getChangesIn(dirPath);
|
||||
return ContainerUtil.map(changes, new Function<Change, LocalChangeList>() {
|
||||
return ContainerUtil.map2Set(changes, new Function<Change, LocalChangeList>() {
|
||||
@Override
|
||||
public LocalChangeList fun(Change change) {
|
||||
return changeListManager.getChangeList(change);
|
||||
|
||||
Reference in New Issue
Block a user