8340680: Fix typos in javax.lang.model.SourceVersion

Reviewed-by: darcy, iris
This commit is contained in:
Pavel Rappo 2024-09-24 10:48:35 +00:00
parent 4cd8c75a55
commit 3e673d9e46

View File

@ -601,7 +601,7 @@ public enum SourceVersion {
* keywords</i>.
*
* @param s the string to check
* @return {@code true} if {@code s} is a keyword, boolean
* @return {@code true} if {@code s} is a keyword, a boolean
* literal, or the null literal, {@code false} otherwise.
* @jls 3.9 Keywords
* @jls 3.10.3 Boolean Literals
@ -619,7 +619,7 @@ public enum SourceVersion {
*
* @param s the string to check
* @param version the version to use
* @return {@code true} if {@code s} is a keyword, boolean
* @return {@code true} if {@code s} is a keyword, a boolean
* literal, or the null literal, {@code false} otherwise.
* @jls 3.9 Keywords
* @jls 3.10.3 Boolean Literals