jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [7/8] jena git commit: Specific implementation of hasNoMappings() and numPrefixes()
Date Wed, 26 Oct 2016 21:43:34 GMT
Specific implementation of hasNoMappings() and numPrefixes()

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

Branch: refs/heads/master
Commit: 3f3434e29e0e053c9bda04c89f385d79cd484341
Parents: e521436
Author: Andy Seaborne <andy@apache.org>
Authored: Tue Oct 25 15:47:29 2016 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Tue Oct 25 15:47:29 2016 +0100

----------------------------------------------------------------------
 .../jena/graph/compose/PolyadicPrefixMappingImpl.java     | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/3f3434e2/jena-core/src/main/java/org/apache/jena/graph/compose/PolyadicPrefixMappingImpl.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/graph/compose/PolyadicPrefixMappingImpl.java
b/jena-core/src/main/java/org/apache/jena/graph/compose/PolyadicPrefixMappingImpl.java
index 36b825c..0e54edf 100644
--- a/jena-core/src/main/java/org/apache/jena/graph/compose/PolyadicPrefixMappingImpl.java
+++ b/jena-core/src/main/java/org/apache/jena/graph/compose/PolyadicPrefixMappingImpl.java
@@ -193,6 +193,16 @@ public class PolyadicPrefixMappingImpl extends PrefixMappingImpl implements
Pref
         return s;
         }
     
+    
+    @Override
+    public boolean hasNoMappings()
+        { return getBaseMapping().hasNoMappings(); }
+
+    @Override
+    public int numPrefixes()
+        { return getBaseMapping().numPrefixes(); }
+    
+    
     @Override public String qnameFor( String uri )
         {
         String result = getBaseMapping().qnameFor( uri );


Mime
View raw message