cleanup: make field final, unwrap if

GitOrigin-RevId: 92edfa46f15d8c9e163ab71ed01a5afbc0ae8e83
This commit is contained in:
Dmitro Batko
2020-01-30 09:33:39 +00:00
committed by intellij-monorepo-bot
parent 37fa35d8f0
commit a80224a473
@@ -411,11 +411,7 @@ public final class FileBasedIndexImpl extends FileBasedIndexEx {
break;
}
catch (Exception e) {
if (ApplicationManager.getApplication().isUnitTestMode()) {
LOG.info(e);
} else {
LOG.info(e);
}
LOG.info(e);
boolean instantiatedStorage = storage != null;
try {
if (storage != null) storage.close();
@@ -1697,5 +1693,5 @@ public final class FileBasedIndexImpl extends FileBasedIndexEx {
return extension instanceof PsiDependentIndex;
}
}
public static boolean DO_TRACE_STUB_INDEX_UPDATE = SystemProperties.getBooleanProperty("idea.trace.stub.index.update", false);
public static final boolean DO_TRACE_STUB_INDEX_UPDATE = SystemProperties.getBooleanProperty("idea.trace.stub.index.update", false);
}