mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
simplification
This commit is contained in:
@@ -57,9 +57,7 @@ public class VcsRootIterator {
|
||||
if ((rootFilter != null) && (! rootFilter.accept(file))) {
|
||||
return false;
|
||||
}
|
||||
final Boolean excluded = isExcluded(myExcludedFileIndex, file);
|
||||
if (excluded) return false;
|
||||
return true;
|
||||
return !isExcluded(myExcludedFileIndex, file);
|
||||
}
|
||||
|
||||
private static boolean isExcluded(final FileIndexFacade indexFacade, final VirtualFile file) {
|
||||
|
||||
Reference in New Issue
Block a user