Skip to content

Commit

Permalink
EA-63613 - IAE: ProjectRootContainerImpl.addRoot: diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-avdeev committed Dec 24, 2014
1 parent 01f1040 commit fac2e46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/devkit/src/projectRoots/IdeaJdk.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ private static void appendIdeaLibrary(final String libDirPath,
for (File jar : jars) {
@NonNls String name = jar.getName();
if (jar.isFile() && Arrays.binarySearch(forbidden, name) < 0 && (name.endsWith(".jar") || name.endsWith(".zip"))) {
result.add(jfs.findFileByPath(jar.getPath() + JarFileSystem.JAR_SEPARATOR));
VirtualFile file = jfs.findFileByPath(jar.getPath() + JarFileSystem.JAR_SEPARATOR);
LOG.assertTrue(file != null, jar.getPath() + " not found");
result.add(file);
}
}
}
Expand Down

0 comments on commit fac2e46

Please sign in to comment.