aboutsummaryrefslogtreecommitdiff
path: root/src/share/classes/javax/lang/model/SourceVersion.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/classes/javax/lang/model/SourceVersion.java')
-rw-r--r--src/share/classes/javax/lang/model/SourceVersion.java28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/share/classes/javax/lang/model/SourceVersion.java b/src/share/classes/javax/lang/model/SourceVersion.java
index 0c2dd667..50976723 100644
--- a/src/share/classes/javax/lang/model/SourceVersion.java
+++ b/src/share/classes/javax/lang/model/SourceVersion.java
@@ -32,10 +32,9 @@ import java.util.HashSet;
/**
* Source versions of the Java™ programming language.
*
- * See <a
- * href="http://java.sun.com/docs/books/jls/">http://java.sun.com/docs/books/jls/</a>
- * for information on editions of <i>The Java&trade; Language
- * Specification</i>, including updates and clarifications.
+ * See the appropriate edition of
+ * <cite>The Java&trade; Language Specification</cite>
+ * for information about a particular source version.
*
* <p>Note that additional source version constants will be added to
* model future releases of the language.
@@ -59,17 +58,16 @@ public enum SourceVersion {
/**
* The original version.
*
- * The language described in the first edition of <i>The
- * Java&trade; Language Specification</i>.
+ * The language described in
+ * <cite>The Java&trade; Language Specification, First Edition</cite>.
*/
RELEASE_0,
/**
* The version recognized by the Java Platform 1.1.
*
- * The language is {@code RELEASE_0} <a
- * href="http://java.sun.com/docs/books/jls/first_edition/html/1.1Update.html">augmented</a>
- * with nested classes.
+ * The language is {@code RELEASE_0} augmented with nested classes as described in the 1.1 update to
+ * <cite>The Java&trade; Language Specification, First Edition</cite>.
*/
RELEASE_1,
@@ -77,8 +75,9 @@ public enum SourceVersion {
* The version recognized by the Java 2 Platform, Standard Edition,
* v 1.2.
*
- * The language described in <i>The Java&trade; Language
- * Specification, Second Edition</i>, which includes the {@code
+ * The language described in
+ * <cite>The Java&trade; Language Specification,
+ * Second Edition</cite>, which includes the {@code
* strictfp} modifier.
*/
RELEASE_2,
@@ -103,8 +102,9 @@ public enum SourceVersion {
* The version recognized by the Java 2 Platform, Standard
* Edition 5.0.
*
- * The language described in <i>The Java&trade; Language
- * Specification, Third Edition</i>. First release to support
+ * The language described in
+ * <cite>The Java&trade; Language Specification,
+ * Third Edition</cite>. First release to support
* generics, annotations, autoboxing, var-args, enhanced {@code
* for} loop, and hexadecimal floating-point literals.
*/
@@ -210,7 +210,7 @@ public enum SourceVersion {
* @param name the string to check
* @return {@code true} if this string is a
* syntactically valid name, {@code false} otherwise.
- * @jls3 6.2 Names and Identifiers
+ * @jls 6.2 Names and Identifiers
*/
public static boolean isName(CharSequence name) {
String id = name.toString();