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 2017/06/27 14:53:13 UTC

[2/7] jena git commit: JENA-1367 cont'd: Updated javadoc

JENA-1367 cont'd: Updated javadoc


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

Branch: refs/heads/master
Commit: eae24e5320da8e6e305c55efdb39728e4d2d08ad
Parents: 305a5b1
Author: Richard Cyganiak <ri...@cyganiak.de>
Authored: Sun Jun 25 12:54:47 2017 +0100
Committer: Richard Cyganiak <ri...@cyganiak.de>
Committed: Sun Jun 25 12:54:47 2017 +0100

----------------------------------------------------------------------
 .../apache/jena/sparql/pfunction/library/strSplit.java    | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/eae24e53/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/strSplit.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/strSplit.java b/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/strSplit.java
index 43e6c01..2033d38 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/strSplit.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/pfunction/library/strSplit.java
@@ -39,11 +39,13 @@ import org.apache.jena.sparql.util.IterLib;
 import org.apache.jena.vocabulary.XSD;
 
 /**
- * Property function that requires the subject to be unbound, and the object to
+ * Property function that requires the object to
  * contain a list of two items, the first of which is a string to be split, and
- * the second is a regular expression denoting the split point. The subject
- * variable is bound for each result of the split, and each result has the
- * whitespace trimmed from it.
+ * the second is a regular expression denoting the split point. If the subject
+ * is an unbound variable, it is bound for each result of the split, and each result has the
+ * whitespace trimmed from it. If the subject is not an unbound variable, then
+ * the property function will match if and only if the subject is one of the
+ * split results.
  */
 public class strSplit extends PFuncSimpleAndList
 {