mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE in command line apps
This commit is contained in:
@@ -142,10 +142,9 @@ public class JarFileSystemImpl extends JarFileSystem implements ApplicationCompo
|
||||
|
||||
@Override
|
||||
public void setNoCopyJarForPath(String pathInJar) {
|
||||
if (myNoCopyJarPaths == null) {
|
||||
if (myNoCopyJarPaths == null || pathInJar == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
int index = pathInJar.indexOf(JAR_SEPARATOR);
|
||||
if (index < 0) return;
|
||||
String path = pathInJar.substring(0, index);
|
||||
|
||||
Reference in New Issue
Block a user