You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2019/06/24 08:09:10 UTC
[jena] branch master updated: JENA-1724: Print query to stderr when
versbose
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/master by this push:
new 90767a9 JENA-1724: Print query to stderr when versbose
new 74bf887 Merge pull request #578 from afs/query-verbose
90767a9 is described below
commit 90767a9d096b376a2b1c118594c38212a2939909
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Fri Jun 21 11:12:40 2019 +0100
JENA-1724: Print query to stderr when versbose
---
jena-cmds/src/main/java/arq/query.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/jena-cmds/src/main/java/arq/query.java b/jena-cmds/src/main/java/arq/query.java
index 556d7f8..898513d 100644
--- a/jena-cmds/src/main/java/arq/query.java
+++ b/jena-cmds/src/main/java/arq/query.java
@@ -202,10 +202,11 @@ public class query extends CmdARQ
try {
Query query = modQuery.getQuery() ;
if ( isVerbose() ) {
- IndentedWriter out = new IndentedWriter(System.out, true);
+ IndentedWriter out = new IndentedWriter(System.err, true);
query.serialize(out);
+ out.setLineNumbers(false);
+ out.println();
out.flush();
- System.out.println();
}
if ( isQuiet() )