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 2016/03/08 22:31:04 UTC
jena git commit: Remove bad function registration
Repository: jena
Updated Branches:
refs/heads/master bfee7682d -> 19810c8bb
Remove bad function registration
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/19810c8b
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/19810c8b
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/19810c8b
Branch: refs/heads/master
Commit: 19810c8bb5511e0560ad0fd1707abf2612195a31
Parents: bfee768
Author: Andy Seaborne <an...@apache.org>
Authored: Tue Mar 8 21:30:59 2016 +0000
Committer: Andy Seaborne <an...@apache.org>
Committed: Tue Mar 8 21:30:59 2016 +0000
----------------------------------------------------------------------
.../java/org/apache/jena/sparql/function/StandardFunctions.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/19810c8b/jena-arq/src/main/java/org/apache/jena/sparql/function/StandardFunctions.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/function/StandardFunctions.java b/jena-arq/src/main/java/org/apache/jena/sparql/function/StandardFunctions.java
index 724777a..c860f47 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/function/StandardFunctions.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/function/StandardFunctions.java
@@ -20,7 +20,6 @@ package org.apache.jena.sparql.function;
import org.apache.jena.datatypes.xsd.XSDDatatype ;
import org.apache.jena.sparql.ARQConstants ;
-import org.apache.jena.sparql.expr.E_StrReplace ;
import org.apache.jena.sparql.function.library.* ;
import org.apache.jena.sparql.function.library.sqrt ;
import org.apache.jena.sparql.function.library.leviathan.* ;
@@ -112,7 +111,8 @@ public class StandardFunctions
// 5.6.3 fn:replace c.f. SPARQL REPLACE.
// Not 5.6.4 fn:tokenize - returns a sequence.
add(registry, xfn+"matches", FN_Matches.class) ;
- add(registry, xfn+"replace", E_StrReplace.class) ; // Good enough match?
+ // Needs adapter to E_StrReplace (is it a good enough match?)
+// add(registry, xfn+"replace", FN_StrReplace.class) ;
// fn:replace
// fn:tokenize