From fca39031bccbd1d7c1430a98ef209002351081bd Mon Sep 17 00:00:00 2001 From: Nikolaos Konstantinou Date: Tue, 29 Oct 2013 18:02:13 +0200 Subject: [PATCH] minor improvements --- src/main/java/gr/seab/r2rml/beans/Generator.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/gr/seab/r2rml/beans/Generator.java b/src/main/java/gr/seab/r2rml/beans/Generator.java index a4a2916..703f888 100644 --- a/src/main/java/gr/seab/r2rml/beans/Generator.java +++ b/src/main/java/gr/seab/r2rml/beans/Generator.java @@ -577,7 +577,7 @@ 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."); @@ -585,7 +585,7 @@ public void createTriples(MappingDocument mappingDocument) { 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(); @@ -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