You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2014/09/23 15:25:45 UTC
git commit: Minor tweak for formatting consistency
Repository: jena
Updated Branches:
refs/heads/master 649a37bb4 -> 539f27c3a
Minor tweak for formatting consistency
Tweaks FormatterElement so the formatting of an ElementGroup of a single
ElementPathBlock is identical to the formatting of a ElementPathBlock.
Prior to this commit an additional space was inserted in the
ElementGroup case.
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/539f27c3
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/539f27c3
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/539f27c3
Branch: refs/heads/master
Commit: 539f27c3a7884febb7bbabb05c0ee22e89f7de18
Parents: 649a37b
Author: Rob Vesse <rv...@apache.org>
Authored: Tue Sep 23 14:22:38 2014 +0100
Committer: Rob Vesse <rv...@apache.org>
Committed: Tue Sep 23 14:22:38 2014 +0100
----------------------------------------------------------------------
.../java/com/hp/hpl/jena/sparql/serializer/FormatterElement.java | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/539f27c3/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/FormatterElement.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/FormatterElement.java b/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/FormatterElement.java
index 0947a34..a4ee39f 100644
--- a/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/FormatterElement.java
+++ b/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/FormatterElement.java
@@ -330,8 +330,6 @@ public class FormatterElement extends FormatterBase
int row2 = out.getRow() ;
if ( row1 != row2 )
out.newline() ;
- else
- out.print(' ') ;
// Finally, close the group.
out.print("}") ;