Commit 7cafd309 authored by Luna Riegel's avatar Luna Riegel
Browse files

Refactor: Synchronize cache after Checks + Schematron

parent 8b2305a7
......@@ -205,14 +205,16 @@ public class Checker {
}
if (schematronThread.isAlive()) {
//TODO: Localize String
logger.info("Schematron thread still running, waiting for completion. This may take some time");
logger.info("Schematron is still running. Waiting for completion, this may take some time");
try{
schematronThread.join();
logger.info("Schematron completed.");
} catch (InterruptedException e) {
logger.error("Main Thread was interrupted while waiting for Schematron", e);
schematronThread.interrupt();
}
}
CacheManager.synchronizeCache();
model.setValidated(createValidationPlan());
}
......@@ -694,8 +696,6 @@ public class Checker {
String msg = String.format("Checker could not load %d/%.0f features (%.2f%%)", missing, featureSum, (missing/featureSum) * 100);
logger.warn(msg);
}
CacheManager.synchronizeCache();
// model.preCacheShownFeatures();
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment