improvements for NIHVIVO-205 ontology upgrade
This commit is contained in:
parent
2a60a9c0e8
commit
aaabc8647d
3 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue