You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2013/11/28 19:37:44 UTC

svn commit: r1546441 - /jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/update/UpdateFactory.java

Author: andy
Date: Thu Nov 28 18:37:44 2013
New Revision: 1546441

URL: http://svn.apache.org/r1546441
Log:
Set base URI to filename (not current directory).

Modified:
    jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/update/UpdateFactory.java

Modified: jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/update/UpdateFactory.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/update/UpdateFactory.java?rev=1546441&r1=1546440&r2=1546441&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/update/UpdateFactory.java (original)
+++ jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/update/UpdateFactory.java Thu Nov 28 18:37:44 2013
@@ -146,19 +146,19 @@ public class UpdateFactory
     /** Create an UpdateRequest by reading it from a file */
     public static UpdateRequest read(String fileName)
     { 
-        return read(fileName, null, defaultUpdateSyntax) ;
+        return read(fileName, fileName, defaultUpdateSyntax) ;
     }
     
     /** Create an UpdateRequest by reading it from a file */
     public static UpdateRequest read(String fileName, Syntax syntax)
     {
-        return read(fileName, null, syntax) ;
+        return read(fileName, fileName, syntax) ;
     }
     
     /** Create an UpdateRequest by reading it from a file */
     public static UpdateRequest read(UsingList usingList, String fileName, Syntax syntax)
     {
-        return read(usingList, fileName, null, syntax) ;
+        return read(usingList, fileName, fileName, syntax) ;
     }
 
     /** Create an UpdateRequest by reading it from a file */