EA-26180 - assert: EclipseClasspathStorageProvider$EclipseClasspathConverter.getClasspath

(cherry picked from commit a1371bdeace88e178fad692c1ea2afb51345e704)
This commit is contained in:
anna
2011-05-02 21:13:37 +02:00
parent b000c369eb
commit 430f611e7d
@@ -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);