jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [01/13] jena git commit: Potential to write out twice when pretty printing.
Date Thu, 20 Aug 2015 19:02:55 GMT
Repository: jena
Updated Branches:
  refs/heads/JENA-491-construct-quads d5a3f8b55 -> 0bd45a510


Potential to write out twice when pretty printing.

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/880ab7c9
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/880ab7c9
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/880ab7c9

Branch: refs/heads/JENA-491-construct-quads
Commit: 880ab7c9e6f7caf6ee8e0341e923c51dbf412b00
Parents: b54af5d
Author: Andy Seaborne <andy@apache.org>
Authored: Thu Aug 20 13:34:54 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Thu Aug 20 13:34:54 2015 +0100

----------------------------------------------------------------------
 jena-arq/src/main/java/riotcmd/CmdLangParse.java | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/880ab7c9/jena-arq/src/main/java/riotcmd/CmdLangParse.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/riotcmd/CmdLangParse.java b/jena-arq/src/main/java/riotcmd/CmdLangParse.java
index aa04052..6c939b8 100644
--- a/jena-arq/src/main/java/riotcmd/CmdLangParse.java
+++ b/jena-arq/src/main/java/riotcmd/CmdLangParse.java
@@ -159,18 +159,15 @@ public abstract class CmdLangParse extends CmdGeneral
             }
             if ( postParse != null )
                 postParse.postParse();
+            if ( super.getPositional().size() > 1 && modTime.timingEnabled() )
+                output("Total", totalTuples, totalMillis, langHandlerOverall) ;
         } finally {
             if ( output != System.out )
                 IO.close(output) ;
             else
                 IO.flush(output);    
             System.err.flush() ;
-            if ( super.getPositional().size() > 1 && modTime.timingEnabled() )
-                output("Total", totalTuples, totalMillis, langHandlerOverall) ;
         }
-        
-        if ( postParse != null )
-            postParse.postParse() ;
     }
     
     public void parseFile(String filename) {


Mime
View raw message