No longer converting case metadata upon load

This commit is contained in:
U-BASIS\dgrove 2017-03-02 18:01:51 -05:00
parent 17cbd25d25
commit 5537d645e8

View File

@ -455,13 +455,6 @@ public final class CaseMetadata {
this.caseDatabaseName = caseDirectoryPath.relativize(possibleAbsoluteCaseDbPath).toString();
}
/*
* Update the file to the current schema, if necessary.
*/
if (!schemaVersion.equals(CURRENT_SCHEMA_VERSION)) {
writeToFile();
}
} catch (ParserConfigurationException | SAXException | IOException ex) {
throw new CaseMetadataException(String.format("Error reading from case metadata file %s", metadataFilePath), ex);
}