improvements for NIHVIVO-205 ontology upgrade

This commit is contained in:
bjl23 2010-04-02 19:02:07 +00:00
parent 2a60a9c0e8
commit aaabc8647d
3 changed files with 6 additions and 6 deletions

View file

@ -38,8 +38,6 @@ public class OntologyChangeParser {
@SuppressWarnings({ "unchecked", "null", "static-access" })
public ArrayList<AtomicOntologyChange> parseFile(String diffPath) throws IOException{
logger.log("Parsing PromptDiff file at " + diffPath);
AtomicOntologyChange changeObj;
ArrayList<AtomicOntologyChange> changeObjects = new ArrayList<AtomicOntologyChange>();
int countColumns = 0;

View file

@ -238,7 +238,7 @@ public class OntologyUpdater {
m.enterCriticalSection(Lock.WRITE);
try {
m.read(inStream, null, settings.getSuccessRDFFormat());
logger.log(" finished without errors.");
logger.log("Successfully finished processing ontology changes.");
} finally {
m.leaveCriticalSection();
}

View file

@ -207,9 +207,11 @@ public class TBoxUpdater {
// log the additions
//summary
logger.log("Added " + newAnnotationSettingsToAdd.size() + " new annotation property settings to the knowledge base. This includes " +
"existing annotation properties applied to existing classes where they weren't applied before, or existing " +
"properties applied to new classes. No new annotation properties have been introduced.");
if (newAnnotationSettingsToAdd.size() > 0) {
logger.log("Added " + newAnnotationSettingsToAdd.size() + " new annotation property settings to the knowledge base. This includes " +
"existing annotation properties applied to existing classes where they weren't applied before, or existing " +
"properties applied to new classes. No new annotation properties have been introduced.");
}
//details
while (iter.hasNext()) {