Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
nkons committed Oct 29, 2013
1 parent 38a04eb commit fca3903
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/gr/seab/r2rml/beans/Generator.java
Original file line number Diff line number Diff line change
Expand Up @@ -577,15 +577,15 @@ public void createTriples(MappingDocument mappingDocument) {
} catch (IOException e) {
e.printStackTrace();
}
log.info("Clean model has " + cleanModel.listStatements().toList().size() + " statements.");
log.info("Clean model has " + cleanModel.size() + " statements.");
cleanModel.close();
} else {
log.info("Nothing to write.");
}
mappingDocument.getTimestamps().add(Calendar.getInstance().getTimeInMillis()); //3 Wrote clean model to disk.
//log.info("3 Wrote clean model to disk.");
} else {
log.info("Full run: Writing model to " + destinationFileName + ". Model has " + resultModel.listStatements().toList().size() + " statements.");
log.info("Full run: Writing model to " + destinationFileName + ". Model has " + resultModel.size() + " statements.");
try {
Calendar c0 = Calendar.getInstance();
long t0 = c0.getTimeInMillis();
Expand Down Expand Up @@ -626,13 +626,13 @@ public void createTriples(MappingDocument mappingDocument) {
} catch (IOException e) {
e.printStackTrace();
}
log.info("Reified model has " + resultModel.listStatements().toList().size() + " statements.");
log.info("Reified model has " + resultModel.size() + " statements.");
} else {
log.info("Not Writing reified model.");
}

} else {
log.info("Writing model to database. Model has " + resultModel.listStatements().toList().size() + " statements.");
log.info("Writing model to database. Model has " + resultModel.size() + " statements.");
Calendar c0 = Calendar.getInstance();
long t0 = c0.getTimeInMillis();
//Sync start
Expand Down

0 comments on commit fca3903

Please sign in to comment.