From 0250949e419c1a499b017f992d55bffedb3e8976 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Fri, 29 Nov 2024 07:07:32 -0500 Subject: [PATCH] No need for blank Javadoc lines between Javadoc @ tags --- .../java/org/apache/commons/validator/ValidatorResult.java | 1 - .../commons/validator/routines/CreditCardValidator.java | 1 - .../org/apache/commons/validator/routines/IBANValidator.java | 1 - .../commons/validator/routines/InetAddressValidator.java | 1 - .../org/apache/commons/validator/routines/UrlValidator.java | 3 --- src/main/java/org/apache/commons/validator/util/Flags.java | 4 ---- .../org/apache/commons/validator/util/ValidatorUtils.java | 3 --- 7 files changed, 14 deletions(-) diff --git a/src/main/java/org/apache/commons/validator/ValidatorResult.java b/src/main/java/org/apache/commons/validator/ValidatorResult.java index b3e5e4694..4019d0097 100644 --- a/src/main/java/org/apache/commons/validator/ValidatorResult.java +++ b/src/main/java/org/apache/commons/validator/ValidatorResult.java @@ -57,7 +57,6 @@ public ResultStatus(final boolean valid, final Object result) { * @param ignored ignored by this method * @param valid Whether the validator passed or failed. * @param result Value returned by the validator. - * * @deprecated Use {@code ResultStatus(boolean, Object)} instead */ @Deprecated diff --git a/src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java b/src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java index ffa15556d..aaf29759b 100644 --- a/src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java +++ b/src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java @@ -478,7 +478,6 @@ public CreditCardValidator(final long options) { * * @param options The options specified. * @param flag Flag value to check. - * * @return whether the specified flag value is on. */ private boolean isOn(final long options, final long flag) { diff --git a/src/main/java/org/apache/commons/validator/routines/IBANValidator.java b/src/main/java/org/apache/commons/validator/routines/IBANValidator.java index 277b5b36f..4c8560ca6 100644 --- a/src/main/java/org/apache/commons/validator/routines/IBANValidator.java +++ b/src/main/java/org/apache/commons/validator/routines/IBANValidator.java @@ -311,7 +311,6 @@ public Validator[] getDefaultValidators() { * Gets the Validator for a given IBAN * * @param code a string starting with the ISO country code (e.g. an IBAN) - * * @return the validator or {@code null} if there is not one registered. */ public Validator getValidator(final String code) { diff --git a/src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java b/src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java index ac3c3986f..6bb35d093 100644 --- a/src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java +++ b/src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java @@ -125,7 +125,6 @@ public boolean isValidInet4Address(final String inet4Address) { * * @param inet6Address the IPv6 address to validate * @return true if the argument contains a valid IPv6 address - * * @since 1.4.1 */ public boolean isValidInet6Address(String inet6Address) { diff --git a/src/main/java/org/apache/commons/validator/routines/UrlValidator.java b/src/main/java/org/apache/commons/validator/routines/UrlValidator.java index 347bf6633..b67ce5d0a 100644 --- a/src/main/java/org/apache/commons/validator/routines/UrlValidator.java +++ b/src/main/java/org/apache/commons/validator/routines/UrlValidator.java @@ -175,7 +175,6 @@ public static UrlValidator getInstance() { * * @param flag Flag value to check. * @param options what to check - * * @return whether the specified flag value is on. */ private static boolean isOn(final long flag, final long options) { @@ -329,7 +328,6 @@ protected int countToken(final String token, final String target) { * (ie. 3) this tests whether the combination of flags is off. * * @param flag Flag value to check. - * * @return whether the specified flag value is off. */ private boolean isOff(final long flag) { @@ -341,7 +339,6 @@ private boolean isOff(final long flag) { * (ie. 3) this tests whether the combination of flags is on. * * @param flag Flag value to check. - * * @return whether the specified flag value is on. */ private boolean isOn(final long flag) { diff --git a/src/main/java/org/apache/commons/validator/util/Flags.java b/src/main/java/org/apache/commons/validator/util/Flags.java index 803d9a45c..ac3b756b7 100644 --- a/src/main/java/org/apache/commons/validator/util/Flags.java +++ b/src/main/java/org/apache/commons/validator/util/Flags.java @@ -87,7 +87,6 @@ public Object clone() { * Tests if two Flags objects are in the same state. * @param obj object being tested * @see Object#equals(Object) - * * @return whether the objects are equal. */ @Override @@ -114,7 +113,6 @@ public long getFlags() { /** * The hash code is based on the current state of the flags. * @see Object#hashCode() - * * @return the hash code for this object. */ @Override @@ -127,7 +125,6 @@ public int hashCode() { * (ie. 3) this tests whether the combination of flags is off. * * @param flag Flag value to check. - * * @return whether the specified flag value is off. */ public boolean isOff(final long flag) { @@ -139,7 +136,6 @@ public boolean isOff(final long flag) { * (ie. 3) this tests whether the combination of flags is on. * * @param flag Flag value to check. - * * @return whether the specified flag value is on. */ public boolean isOn(final long flag) { diff --git a/src/main/java/org/apache/commons/validator/util/ValidatorUtils.java b/src/main/java/org/apache/commons/validator/util/ValidatorUtils.java index a40e6a6c2..dfc15112a 100644 --- a/src/main/java/org/apache/commons/validator/util/ValidatorUtils.java +++ b/src/main/java/org/apache/commons/validator/util/ValidatorUtils.java @@ -82,7 +82,6 @@ public static FastHashMap copyFastHashMap(final FastHashMap fastHashMap) { * it is a shallow copy. * * @param map The source Map to copy. - * * @return A copy of the {@link Map} that was passed in. */ public static Map copyMap(final Map map) { @@ -111,7 +110,6 @@ public static Map copyMap(final Map map) { * * @param bean The bean object. * @param property The name of the property to access. - * * @return The value of the property. */ public static String getValueAsString(final Object bean, final String property) { @@ -146,7 +144,6 @@ public static String getValueAsString(final Object bean, final String property) * @param value {@link String} to perform the replacement on. * @param key The name of the constant. * @param replaceValue The value of the constant. - * * @return The modified value. */ public static String replace(final String value, final String key, final String replaceValue) {