JDK 15 RFR of JDK-8244673: Add periods to SourceVersion.isName javadoc
Joe Darcy
joe.darcy at oracle.com
Sat May 9 16:35:36 UTC 2020
Hello,
While doing a CSR review, I noticed a few missing periods of two methods
in SourceVersion; the patch for adding the periods is below.
Thanks,
-Joe
---
a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java
Sat May 09 09:49:08 2020 +0530
+++
b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java
Sat May 09 09:35:22 2020 -0700
@@ -325,7 +325,7 @@
* literal in any segment.
*
* This method returns {@code true} for <i>restricted
- * keywords</i> and <i>restricted identifiers</i>
+ * keywords</i> and <i>restricted identifiers</i>.
*
* @param name the string to check
* @return {@code true} if this string is a
@@ -351,7 +351,7 @@
* literal in any segment.
*
* This method returns {@code true} for <i>restricted
- * keywords</i> and <i>restricted identifiers</i>
+ * keywords</i> and <i>restricted identifiers</i>.
*
* @param name the string to check
* @param version the version to use
More information about the compiler-dev
mailing list