mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-23181 - NPE: GrailsGroovySourceFolderDetector.isGroovySourceFolder
This commit is contained in:
@@ -92,6 +92,7 @@ public class VfsUtil {
|
||||
* @param separator character to use as files separator
|
||||
* @return the relative path
|
||||
*/
|
||||
@Nullable
|
||||
public static String getRelativePath(@NotNull VirtualFile file, @NotNull VirtualFile ancestor, char separator) {
|
||||
if (!file.getFileSystem().equals(ancestor.getFileSystem())) return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user