Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
Issue #69. Avoid Ex where Eclipse has trouble loading a source file.
Browse files Browse the repository at this point in the history
Issue #69. Avoid Ex where Eclipse has trouble loading a source file.
  • Loading branch information
rooneyp1976 committed May 22, 2015
1 parent 88b9fae commit f525968
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,12 @@ private void indexClassFiles(IndexWriter indexWriter, IPackageFragmentRoot jar,
if( classFile.getElementName().contains("$") ) continue; // not type root

try {
ClassFileSourceStorage classFileSourceStorage = new ClassFileSourceStorage(classFile);

if( classFileSourceStorage.hasSource() )
indexStorageWithRetry(indexWriter, classFileSourceStorage, projectPath, IResource.NULL_STAMP, jarName);
} catch (Exception e) {
//Issue #69. Avoid Ex where Eclipse has trouble loading a source file.
}
ClassFileSourceStorage classFileSourceStorage = new ClassFileSourceStorage(classFile);

if (classFileSourceStorage.hasSource()) indexStorageWithRetry(indexWriter, classFileSourceStorage, projectPath, IResource.NULL_STAMP, jarName);
} catch (Exception e) {
//Issue #69. Avoid Ex where Eclipse has trouble loading a source file.
}

if( monitor.isCanceled() ) return;
}
Expand Down

0 comments on commit f525968

Please sign in to comment.