Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fe713c

Browse files
committed
Merge pull request #4 from abego/issue-3
Fix issue-3: don't call 'JavaModel.flushExternalFileCache'
2 parents 31f4d4b + d116f40 commit 0fe713c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

sources/net.sf.j2s.core/src/net/sf/j2s/core/builder/JavaBuilder.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -614,15 +614,6 @@ private int initializeBuilder(int kind, boolean forBuild) throws CoreException {
614614
// Flush the existing external files cache if this is the beginning of a build cycle
615615
String projectName = this.currentProject.getName();
616616
if (builtProjects == null || builtProjects.contains(projectName)) {
617-
try {
618-
Method method = JavaModel.class.getMethod("flushExternalFileCache", new Class[] { Void.class });
619-
if (method != null) {
620-
method.invoke(JavaModel.class, new Object[0]);
621-
}
622-
} catch (Throwable e) {
623-
e.printStackTrace();
624-
}
625-
//JavaModel.flushExternalFileCache();
626617
builtProjects = new ArrayList();
627618
}
628619
builtProjects.add(projectName);

0 commit comments

Comments
 (0)