Skip to content

Commit 3e673d9

Browse files
author
Pavel Rappo
committedSep 24, 2024
8340680: Fix typos in javax.lang.model.SourceVersion
Reviewed-by: darcy, iris
1 parent 4cd8c75 commit 3e673d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/java.compiler/share/classes/javax/lang/model/SourceVersion.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ public static boolean isName(CharSequence name, SourceVersion version) {
601601
* keywords</i>.
602602
*
603603
* @param s the string to check
604-
* @return {@code true} if {@code s} is a keyword, boolean
604+
* @return {@code true} if {@code s} is a keyword, a boolean
605605
* literal, or the null literal, {@code false} otherwise.
606606
* @jls 3.9 Keywords
607607
* @jls 3.10.3 Boolean Literals
@@ -619,7 +619,7 @@ public static boolean isKeyword(CharSequence s) {
619619
*
620620
* @param s the string to check
621621
* @param version the version to use
622-
* @return {@code true} if {@code s} is a keyword, boolean
622+
* @return {@code true} if {@code s} is a keyword, a boolean
623623
* literal, or the null literal, {@code false} otherwise.
624624
* @jls 3.9 Keywords
625625
* @jls 3.10.3 Boolean Literals

0 commit comments

Comments
 (0)
Please sign in to comment.