diff --git a/src/java.base/share/classes/java/io/StreamTokenizer.java b/src/java.base/share/classes/java/io/StreamTokenizer.java index 292e7ff15a8..e44f95d6169 100644 --- a/src/java.base/share/classes/java/io/StreamTokenizer.java +++ b/src/java.base/share/classes/java/io/StreamTokenizer.java @@ -115,7 +115,7 @@ public class StreamTokenizer { * has been reached. * *
- * The initial value of this field is -4. + * The initial value of this field is {@value TT_NOTHING}. * * @see java.io.StreamTokenizer#eolIsSignificant(boolean) * @see java.io.StreamTokenizer#nextToken() @@ -344,7 +344,7 @@ public class StreamTokenizer { } /** - * Specified that the character argument starts a single-line + * Specifies that the character argument starts a single-line * comment. All characters from the comment character to the end of * the line are ignored by this stream tokenizer. * @@ -478,7 +478,7 @@ public class StreamTokenizer { * If the flag argument is {@code true}, then the value in the * {@code sval} field is lowercased whenever a word token is * returned (the {@code ttype} field has the - * value {@code TT_WORD} by the {@code nextToken} method + * value {@code TT_WORD}) by the {@code nextToken} method * of this tokenizer. *
* If the flag argument is {@code false}, then the @@ -755,7 +755,7 @@ public class StreamTokenizer { } /** - * Return the current line number. + * Returns the current line number. * * @return the current line number of this stream tokenizer. */