jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [08/15] jena git commit: javadoc for enum constants
Date Wed, 08 Feb 2017 12:50:16 GMT
javadoc for enum constants

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

Branch: refs/heads/master
Commit: b163428548a52ba0b877d641355c4fd2a12ff523
Parents: 0e2fad4
Author: Andy Seaborne <andy@apache.org>
Authored: Thu Feb 2 09:57:25 2017 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Thu Feb 2 09:57:25 2017 +0000

----------------------------------------------------------------------
 .../java/org/apache/jena/riot/tokens/StringType.java   | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/b1634285/jena-arq/src/main/java/org/apache/jena/riot/tokens/StringType.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/riot/tokens/StringType.java b/jena-arq/src/main/java/org/apache/jena/riot/tokens/StringType.java
index 9e45434..c43eb79 100644
--- a/jena-arq/src/main/java/org/apache/jena/riot/tokens/StringType.java
+++ b/jena-arq/src/main/java/org/apache/jena/riot/tokens/StringType.java
@@ -18,5 +18,14 @@
 
 package org.apache.jena.riot.tokens;
 
-/** Seen form of a {@link TokenType#STRING} */
-public enum StringType { STRING1, STRING2, LONG_STRING1, LONG_STRING2 }
\ No newline at end of file
+/** The seen form of a {@link TokenType#STRING} */
+public enum StringType {
+    /** A string delimited by 1 single-quote character : {@code 'abc'} */
+    STRING1,
+    /** A string delimited by 1 double-quote character : {@code 'abc'} */
+    STRING2,
+    /** A string delimited by 3 single-quote characters : {@code '''abc'''} */
+    LONG_STRING1,
+    /** A string delimited by 3 double-quote characters : {@code """abc"""} */
+    LONG_STRING2
+}


Mime
View raw message