Check for classpath change is back
Back to complete the revert of including tracking output folder contents into classpath changed event
This commit is contained in:
@@ -360,6 +360,10 @@ public class JdtLsProjectCache implements InitializableJavaProjectsService, Serv
|
||||
URI projectUri = new URI(uri);
|
||||
ClasspathData classpath = new ClasspathData(event.name, event.classpath.getEntries());
|
||||
IJavaProject oldProject = table.get(uri);
|
||||
if (oldProject != null && classpath.equals(oldProject.getClasspath())) {
|
||||
// nothing has changed
|
||||
return;
|
||||
}
|
||||
IProjectBuild projectBuild = from(event.projectBuild);
|
||||
IJavaProject newProject = IS_JANDEX_INDEX
|
||||
? new JavaProject(getFileObserver(), projectUri, classpath,
|
||||
|
||||
Reference in New Issue
Block a user