JDK 15 RFR of JDK-8244673: Add periods to SourceVersion.isName javadoc

Jonathan Gibbons jonathan.gibbons at oracle.com
Sat May 9 18:52:42 UTC 2020


+1

-- Jon

On 5/9/20 9:35 AM, Joe Darcy wrote:
> 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