addAllTriples, not copyTriples

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

Branch: refs/heads/quad
Commit: c6079385a6c379f0f90d0d57f7f0dd41cf1971d0
Parents: 27d135b
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Fri Apr 10 15:05:54 2015 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Sat Mar 12 18:28:17 2016 +0000

----------------------------------------------------------------------
 .../java/org/apache/commons/rdf/api/AbstractGraphTest.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/c6079385/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
----------------------------------------------------------------------
diff --git 
a/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java 
b/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
index de49225..22a32d1 100644
--- a/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
+++ b/api/src/test/java/org/apache/commons/rdf/api/AbstractGraphTest.java
@@ -289,8 +289,8 @@ public abstract class AbstractGraphTest {
             Graph g2 = createGraph2();
             Graph g3 = factory.createGraph();
 
-            copyTriples(g1, g3);
-            copyTriples(g2, g3);
+            addAllTriples(g1, g3);
+            addAllTriples(g2, g3);
 
             IRI name = factory.createIRI("http://xmlns.com/foaf/0.1/name";);
 
@@ -355,7 +355,7 @@ public abstract class AbstractGraphTest {
      * @param source Source Graph to copy triples from
      * @param target Target Graph where triples will be added
      */
-    private void copyTriples(Graph source, Graph target) {
+    private void addAllTriples(Graph source, Graph target) {
 
         // unordered() as we don't need to preserve triple order
         // sequential() as we don't (currently) require target Graph to be 
thread-safe

Reply via email to