jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1383476 - /jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/modify/AbstractTestUpdateGraph.java
Date Tue, 11 Sep 2012 16:49:50 GMT
Author: andy
Date: Tue Sep 11 16:49:49 2012
New Revision: 1383476

URL: http://svn.apache.org/viewvc?rev=1383476&view=rev
Log:
Don't rely on a deprecated feature.

Modified:
    jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/modify/AbstractTestUpdateGraph.java

Modified: jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/modify/AbstractTestUpdateGraph.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/modify/AbstractTestUpdateGraph.java?rev=1383476&r1=1383475&r2=1383476&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/modify/AbstractTestUpdateGraph.java
(original)
+++ jena/trunk/jena-arq/src/test/java/com/hp/hpl/jena/sparql/modify/AbstractTestUpdateGraph.java
Tue Sep 11 16:49:49 2012
@@ -420,7 +420,8 @@ public abstract class AbstractTestUpdate
     private static Graph data(Triple... triples)
     {
         Graph graph = Factory.createDefaultGraph();
-        graph.getBulkUpdateHandler().add(triples);
+        for ( Triple t : triples )
+            graph.add(t);
         return graph;
     }
 }



Mime
View raw message