From 2242b6f2ca69768aac954696e6dd67842b1ea4d6 Mon Sep 17 00:00:00 2001 From: Alex Herbert Date: Tue, 21 Jul 2020 08:20:23 +0100 Subject: [PATCH] Remove javadoc reference to private constructor --- .../java/org/apache/commons/lang3/CharRange.java | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/CharRange.java b/src/main/java/org/apache/commons/lang3/CharRange.java index 0504bedaa..90977fb24 100644 --- a/src/main/java/org/apache/commons/lang3/CharRange.java +++ b/src/main/java/org/apache/commons/lang3/CharRange.java @@ -81,7 +81,6 @@ final class CharRange implements Iterable, Serializable { * * @param ch only character in this range * @return the new CharRange object - * @see CharRange#CharRange(char, char, boolean) * @since 2.5 */ public static CharRange is(final char ch) { @@ -91,9 +90,11 @@ final class CharRange implements Iterable, Serializable { /** *

Constructs a negated {@code CharRange} over a single character.

* + *

A negated range includes everything except that defined by the + * single character.

+ * * @param ch only character in this range * @return the new CharRange object - * @see CharRange#CharRange(char, char, boolean) * @since 2.5 */ public static CharRange isNot(final char ch) { @@ -103,10 +104,12 @@ final class CharRange implements Iterable, Serializable { /** *

Constructs a {@code CharRange} over a set of characters.

* + *

If start and end are in the wrong order, they are reversed. + * Thus {@code a-e} is the same as {@code e-a}.

+ * * @param start first character, inclusive, in this range * @param end last character, inclusive, in this range * @return the new CharRange object - * @see CharRange#CharRange(char, char, boolean) * @since 2.5 */ public static CharRange isIn(final char start, final char end) { @@ -116,10 +119,15 @@ final class CharRange implements Iterable, Serializable { /** *

Constructs a negated {@code CharRange} over a set of characters.

* + *

A negated range includes everything except that defined by the + * start and end characters.

+ * + *

If start and end are in the wrong order, they are reversed. + * Thus {@code a-e} is the same as {@code e-a}.

+ * * @param start first character, inclusive, in this range * @param end last character, inclusive, in this range * @return the new CharRange object - * @see CharRange#CharRange(char, char, boolean) * @since 2.5 */ public static CharRange isNotIn(final char start, final char end) {