8316207: Fix typos in java.io.StreamTokenizer

Reviewed-by: naoto
This commit is contained in:
Pavel Rappo 2023-09-15 17:32:41 +00:00
parent dc5ca1d379
commit 149acd186e

View File

@ -115,7 +115,7 @@ public class StreamTokenizer {
* has been reached.
* </ul>
* <p>
* 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.
* <p>
* 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.
*/