boolean (final CommittedChangeList list) { for (Change change : list.getChanges()) { FilePath path = ChangesUtil.getFilePath(change); for (FilePath selPath : mySelection) { if (path.isUnder(selPath, false)) { return true; } } } return false; }