commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [48/50] incubator-commonsrdf git commit: getTriples() -> stream
Date Thu, 02 Jun 2016 16:46:00 GMT
getTriples() -> stream


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

Branch: refs/heads/rdf4j
Commit: b0c67ac9aaf4bf490799fbfa8df7e4ef73c5acd4
Parents: 12051e9
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Thu Jun 2 17:42:39 2016 +0100
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Thu Jun 2 17:42:39 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/commons/rdf/rdf4j/RDF4JTermFactory.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/b0c67ac9/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTermFactory.java
----------------------------------------------------------------------
diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTermFactory.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTermFactory.java
index 6f9d410..dc8bd2d 100644
--- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTermFactory.java
+++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4JTermFactory.java
@@ -356,12 +356,12 @@ public class RDF4JTermFactory implements RDFTermFactory {
 		}
 	
 		@Override
-		public Stream<RDF4JTriple> getTriples() {
+		public Stream<RDF4JTriple> stream() {
 			return model.parallelStream().map(RDF4JTermFactory.this::asTriple);
 		}
 	
 		@Override
-		public Stream<RDF4JTriple> getTriples(BlankNodeOrIRI subject, org.apache.commons.rdf.api.IRI
predicate, RDFTerm object) {
+		public Stream<RDF4JTriple> stream(BlankNodeOrIRI subject, org.apache.commons.rdf.api.IRI
predicate, RDFTerm object) {
 			return model.filter(
 					(Resource)asValue(subject), 
 					(org.eclipse.rdf4j.model.IRI)asValue(predicate), 


Mime
View raw message