jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [2/8] jena git commit: Add a toString() implementation.
Date Thu, 24 Aug 2017 21:31:28 GMT
Add a toString() implementation.

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

Branch: refs/heads/master
Commit: d0909c00b8cc3af2d0b91fe6540e65892a84beb0
Parents: 19bbb54
Author: Andy Seaborne <andy@apache.org>
Authored: Sat Aug 19 14:56:53 2017 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Sat Aug 19 14:56:53 2017 +0100

----------------------------------------------------------------------
 jena-text/src/main/java/org/apache/jena/query/text/TextHit.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/d0909c00/jena-text/src/main/java/org/apache/jena/query/text/TextHit.java
----------------------------------------------------------------------
diff --git a/jena-text/src/main/java/org/apache/jena/query/text/TextHit.java b/jena-text/src/main/java/org/apache/jena/query/text/TextHit.java
index 75ffce1..a59cf41 100644
--- a/jena-text/src/main/java/org/apache/jena/query/text/TextHit.java
+++ b/jena-text/src/main/java/org/apache/jena/query/text/TextHit.java
@@ -44,4 +44,9 @@ public class TextHit
     public Node getLiteral() {
         return this.literal;
     }
+    
+    @Override
+    public String toString() {
+        return "TextHit[node="+node+" literal="+literal+ " score="+score+"]";
+    }
 }


Mime
View raw message