jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject jena git commit: Align with jena-core change (JENA-1082)
Date Tue, 29 Dec 2015 21:09:13 GMT
Repository: jena
Updated Branches:
  refs/heads/master f2b5681c6 -> 6fbecf1e3


Align with jena-core change (JENA-1082)


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

Branch: refs/heads/master
Commit: 6fbecf1e35024b51f1f3031c9b5c8e960e2237d4
Parents: f2b5681
Author: Andy Seaborne <andy@apache.org>
Authored: Tue Dec 29 21:09:06 2015 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Tue Dec 29 21:09:06 2015 +0000

----------------------------------------------------------------------
 .../jena/permissions/model/impl/SecuredModelImpl.java     | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/6fbecf1e/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredModelImpl.java
----------------------------------------------------------------------
diff --git a/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredModelImpl.java
b/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredModelImpl.java
index 1e11238..ca1a52c 100644
--- a/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredModelImpl.java
+++ b/jena-permissions/src/main/java/org/apache/jena/permissions/model/impl/SecuredModelImpl.java
@@ -1529,6 +1529,16 @@ public class SecuredModelImpl extends SecuredItemImpl implements SecuredModel
{
 				.listLiteralStatements(subject, predicate, object));
 	}
 
+    @Override
+    public SecuredStatementIterator listLiteralStatements(
+            final Resource subject, final Property predicate, final int object)
+            throws ReadDeniedException, AuthenticationRequiredException {
+        checkRead();
+        return new SecuredStatementIterator(holder.getSecuredItem(), holder
+                .getBaseItem()
+                .listLiteralStatements(subject, predicate, object));
+    }
+
 	@Override
 	public NsIterator listNameSpaces() throws ReadDeniedException,
 			AuthenticationRequiredException {


Mime
View raw message