boolean (VirtualFile from, VirtualFile[] which) { //noinspection ForLoopReplaceableByForEach for (int i = 0; i < which.length; i++) { final VirtualFile file = which[i]; if (Comparing.equal(file, from)) { return true; } } return false; }