mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-26180 - assert: EclipseClasspathStorageProvider$EclipseClasspathConverter.getClasspath
(cherry picked from commit a1371bdeace88e178fad692c1ea2afb51345e704)
This commit is contained in:
+1
-5
@@ -166,11 +166,7 @@ public class EclipseClasspathStorageProvider implements ClasspathStorageProvider
|
||||
try {
|
||||
final HashSet<String> usedVariables = new HashSet<String>();
|
||||
final CachedXmlDocumentSet documentSet = getFileSet();
|
||||
final VirtualFile vFile = documentSet.getVFile(EclipseXml.PROJECT_FILE);
|
||||
assert vFile != null;
|
||||
final VirtualFile parent = vFile.getParent();
|
||||
assert parent != null;
|
||||
final String path = parent.getPath();
|
||||
final String path = documentSet.getParent(EclipseXml.PROJECT_FILE);
|
||||
|
||||
final EclipseClasspathReader classpathReader = new EclipseClasspathReader(path, module.getProject(), null);
|
||||
classpathReader.init(model);
|
||||
|
||||
Reference in New Issue
Block a user