From ded621e243880b8e7fa433594833cded4278c6c7 Mon Sep 17 00:00:00 2001 From: gregw Date: Tue, 5 Nov 2024 14:52:22 +1100 Subject: [PATCH] fixed some javadoc and maven warnings --- jetty-core/jetty-server/pom.xml | 5 ----- .../src/main/java/org/eclipse/jetty/server/Handler.java | 4 ++-- .../java/org/eclipse/jetty/util/CharsetStringBuilder.java | 2 +- .../main/java/org/eclipse/jetty/util/Utf8StringBuilder.java | 2 +- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/jetty-core/jetty-server/pom.xml b/jetty-core/jetty-server/pom.xml index f56519e809ff..f17f079a74ed 100644 --- a/jetty-core/jetty-server/pom.xml +++ b/jetty-core/jetty-server/pom.xml @@ -49,11 +49,6 @@ jetty-slf4j-impl test - - org.eclipse.jetty - jetty-slf4j-impl - test - org.eclipse.jetty jetty-util-ajax diff --git a/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/Handler.java b/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/Handler.java index 3344f065d25c..374700221efd 100644 --- a/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/Handler.java +++ b/jetty-core/jetty-server/src/main/java/org/eclipse/jetty/server/Handler.java @@ -221,7 +221,7 @@ default T getContainer(Handler handler, Class t /** *

A {@link Handler.Container} that can contain multiple other {@link Handler}s.

* - * @see Sequence for an implementation of {@link Collection}. + * @see Sequence for an implementation of {@code Collection}. * @see Singleton */ interface Collection extends Container @@ -290,7 +290,7 @@ default void setHandlers(Handler... handlers) *

This is a "singleton" in the sense of {@link Collections#singleton(Object)} and not * in the sense of the singleton pattern of a single instance per JVM.

* - * @see Wrapper for an implementation of {@link Singleton}. + * @see Wrapper for an implementation of {@code Singleton}. * @see Collection */ @ManagedObject diff --git a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/CharsetStringBuilder.java b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/CharsetStringBuilder.java index 0959e7406206..8b4dd9e89fde 100644 --- a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/CharsetStringBuilder.java +++ b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/CharsetStringBuilder.java @@ -32,7 +32,7 @@ *

Any coding errors in the string will be reported by a {@link CharacterCodingException} thrown * from the {@link #build()} method.

* @see Utf8StringBuilder for UTF-8 decoding with replacement of coding errors and/or fast fail behaviour. - * @see CharsetDecoder for decoding arbitrary {@link Charset}s with control over {@link CodingErrorAction}. + * @see CharsetDecoder for decoding arbitrary {@code Charset}s with control over {@code CodingErrorAction}. */ public interface CharsetStringBuilder { diff --git a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/Utf8StringBuilder.java b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/Utf8StringBuilder.java index bd385193f8e7..175c22719bbd 100644 --- a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/Utf8StringBuilder.java +++ b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/Utf8StringBuilder.java @@ -37,7 +37,7 @@ * {@link CharacterCodingException}. Already decoded characters may also be appended (e.g. {@link #append(char)} * making this class suitable for decoding % encoded strings of already decoded characters. *

- * @see CharsetStringBuilder for decoding of arbitrary {@link java.nio.charset.Charset}s. + * @see CharsetStringBuilder for decoding of arbitrary {@code Charset}s. */ public class Utf8StringBuilder implements CharsetStringBuilder {