Fix NPE for no fake index

This commit is contained in:
BoykoAlex
2017-10-19 15:41:36 -04:00
parent 2a3dac69c6
commit d5eef10cbb

View File

@@ -57,7 +57,10 @@ public class SpringPropertiesIndexManager {
}
public synchronized SpringPropertyIndex invalidateIndex(IJavaProject project) {
return indexes.remove(project);
if (indexes != null) {
return indexes.remove(project);
}
return null;
}
public synchronized FuzzyMap<ConfigurationMetadataProperty> get(IJavaProject project, ProgressService progressService) {