mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-120786 Log gets crowded with warnings while configuring JavaEE artifact
This commit is contained in:
@@ -57,7 +57,7 @@ public class LibrariesHelperImpl extends LibrariesHelper {
|
||||
VirtualFile file = VirtualFileManager.getInstance().findFileByUrl(url);
|
||||
if (file == null) continue;
|
||||
if (!(file.getFileSystem() instanceof JarFileSystem) && !file.isDirectory()) {
|
||||
file = JarFileSystem.getInstance().findFileByPath(file.getPath() + JarFileSystem.JAR_SEPARATOR);
|
||||
file = JarFileSystem.getInstance().getJarRootForLocalFile(file);
|
||||
}
|
||||
if (file == null) continue;
|
||||
if (findInFile(file, new StringTokenizer(fqn, "."))) return true;
|
||||
|
||||
Reference in New Issue
Block a user