boolean (String canonicalPath, Map<String, ?> addedPaths) { for (String existing : addedPaths.keySet()) { if (VfsUtilCore.isEqualOrAncestor(existing, canonicalPath) || VfsUtilCore.isEqualOrAncestor(canonicalPath, existing)) { return true; } } return false; }