jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [07/12] jena git commit: Fixes JENA-1082.
Date Tue, 29 Dec 2015 21:23:28 GMT
Fixes JENA-1082.


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

Branch: refs/heads/master
Commit: bd9fdd2e40997b67e1f3f8ff755deb05400b1ca7
Parents: c2b8f7c
Author: Ramiro Pereira de Magalhães <ramiro.p.magalhaes@gmail.com>
Authored: Tue Dec 29 16:00:07 2015 -0200
Committer: Andy Seaborne <andy@seaborne.org>
Committed: Tue Dec 29 21:13:05 2015 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/jena/rdf/model/ModelCon.java    | 8 ++++++++
 .../main/java/org/apache/jena/rdf/model/impl/ModelCom.java   | 4 ++++
 2 files changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/bd9fdd2e/jena-core/src/main/java/org/apache/jena/rdf/model/ModelCon.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/ModelCon.java b/jena-core/src/main/java/org/apache/jena/rdf/model/ModelCon.java
index 87d6215..0a30710 100644
--- a/jena-core/src/main/java/org/apache/jena/rdf/model/ModelCon.java
+++ b/jena-core/src/main/java/org/apache/jena/rdf/model/ModelCon.java
@@ -639,6 +639,14 @@ public interface ModelCon {
         matches <code>predicate</code>, and O matches the typed literal
         corresponding to <code>object</code>.
     */ 
+    StmtIterator listLiteralStatements(Resource subject, Property predicate, int object );
+
+    /** 
+        Answer a statement iterator that will iterate over all the statements
+        (S, P, O) in this model where S matches <code>subject</code>, P
+        matches <code>predicate</code>, and O matches the typed literal
+        corresponding to <code>object</code>.
+    */ 
     StmtIterator listLiteralStatements( Resource subject, Property predicate, float object
);
 
     /** 

http://git-wip-us.apache.org/repos/asf/jena/blob/bd9fdd2e/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java
index 8e48855..4207962 100644
--- a/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java
+++ b/jena-core/src/main/java/org/apache/jena/rdf/model/impl/ModelCom.java
@@ -538,6 +538,10 @@ implements Model, PrefixMapping, Lock
     { return listStatements( S, P, createTypedLiteral( O ) ); }
 
     @Override
+    public StmtIterator listLiteralStatements( Resource S, Property P, int O )
+    { return listStatements( S, P, createTypedLiteral( O ) ); }
+
+    @Override
     public StmtIterator listLiteralStatements( Resource S, Property P, char  O )
     { return listStatements( S, P, createTypedLiteral( O ) ); }
 


Mime
View raw message