From 73a084c24e603d2faf05381a2e9bc6d694d19bda Mon Sep 17 00:00:00 2001 From: Jonathan Gibbons Date: Tue, 4 Apr 2023 14:08:30 +0000 Subject: [PATCH] 8305504: stutter typo in java.compiler files Reviewed-by: darcy, iris --- .../share/classes/javax/annotation/processing/Filer.java | 3 ++- .../share/classes/javax/tools/JavaFileManager.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/java.compiler/share/classes/javax/annotation/processing/Filer.java b/src/java.compiler/share/classes/javax/annotation/processing/Filer.java index b9dfaaf2bda..a2e73ee8786 100644 --- a/src/java.compiler/share/classes/javax/annotation/processing/Filer.java +++ b/src/java.compiler/share/classes/javax/annotation/processing/Filer.java @@ -123,7 +123,8 @@ import java.io.IOException; * annotation if the environment is configured so that that class or * interface is accessible. * - * @spec https://www.rfc-editor.org/info/rfc3986 RFC 3986: RFC 3986: Uniform Resource Identifier (URI): Generic Syntax + * @spec https://www.rfc-editor.org/info/rfc3986 + * RFC 3986: Uniform Resource Identifier (URI): Generic Syntax * @apiNote Some of the effect of overwriting a file can be * achieved by using a decorator-style pattern. Instead of * modifying a class directly, the class is designed so that either diff --git a/src/java.compiler/share/classes/javax/tools/JavaFileManager.java b/src/java.compiler/share/classes/javax/tools/JavaFileManager.java index 9f85393d9e3..a66ed5f6757 100644 --- a/src/java.compiler/share/classes/javax/tools/JavaFileManager.java +++ b/src/java.compiler/share/classes/javax/tools/JavaFileManager.java @@ -103,7 +103,8 @@ import static javax.tools.JavaFileObject.Kind; *

Unless explicitly allowed, all methods in this interface might * throw a NullPointerException if given a {@code null} argument. * - * @spec https://www.rfc-editor.org/info/rfc3986 RFC 3986: RFC 3986: Uniform Resource Identifier (URI): Generic Syntax + * @spec https://www.rfc-editor.org/info/rfc3986 + * RFC 3986: Uniform Resource Identifier (URI): Generic Syntax * @see JavaFileObject * @see FileObject * @since 1.6