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:20:31 UTC
[2/3] jena git commit: Fix comments
Fix comments
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/502208a4
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/502208a4
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/502208a4
Branch: refs/heads/master
Commit: 502208a49922944d083abb03fceaa85b63c3710c
Parents: f7a23ef
Author: Andy Seaborne <an...@apache.org>
Authored: Tue Mar 8 20:20:36 2016 +0000
Committer: Andy Seaborne <an...@apache.org>
Committed: Tue Mar 8 20:20:36 2016 +0000
----------------------------------------------------------------------
.../org/apache/jena/sparql/function/StandardFunctions.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/502208a4/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 5f78fcc..724777a 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,6 +20,7 @@ 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.* ;
@@ -108,9 +109,10 @@ public class StandardFunctions
add(registry, xfn+"substring-after", FN_StrAfter.class) ;
// 5.6.2 fn:matches
-// 5.6.3 fn:replace c.d. SPARQL REPLACE.
-// Not 5.6.4 fn:tokenize - rturns a sequence.
+// 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?
// fn:replace
// fn:tokenize