You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/11/29 12:07:37 UTC
(commons-validator) branch master updated: No need for blank Javadoc lines between Javadoc @ tags
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git
The following commit(s) were added to refs/heads/master by this push:
new 0250949e No need for blank Javadoc lines between Javadoc @ tags
0250949e is described below
commit 0250949e419c1a499b017f992d55bffedb3e8976
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 29 07:07:32 2024 -0500
No need for blank Javadoc lines between Javadoc @ tags
---
src/main/java/org/apache/commons/validator/ValidatorResult.java | 1 -
.../org/apache/commons/validator/routines/CreditCardValidator.java | 1 -
.../java/org/apache/commons/validator/routines/IBANValidator.java | 1 -
.../org/apache/commons/validator/routines/InetAddressValidator.java | 1 -
src/main/java/org/apache/commons/validator/routines/UrlValidator.java | 3 ---
src/main/java/org/apache/commons/validator/util/Flags.java | 4 ----
src/main/java/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 b3e5e469..4019d009 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 class ValidatorResult implements Serializable {
* @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 ffa15556..aaf29759 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 class CreditCardValidator implements Serializable {
*
* @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 277b5b36..4c8560ca 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 class IBANValidator {
* 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 ac3c3986..6bb35d09 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 class InetAddressValidator implements Serializable {
*
* @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 347bf663..b67ce5d0 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 class UrlValidator implements Serializable {
*
* @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 @@ public class UrlValidator implements Serializable {
* (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 @@ public class UrlValidator implements Serializable {
* (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 803d9a45..ac3b756b 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 class Flags implements Serializable, Cloneable {
* 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 class Flags implements Serializable, Cloneable {
/**
* 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 class Flags implements Serializable, Cloneable {
* (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 class Flags implements Serializable, Cloneable {
* (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 a40e6a6c..dfc15112 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 class ValidatorUtils {
* 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<String, Object> copyMap(final Map<String, Object> map) {
@@ -111,7 +110,6 @@ public class ValidatorUtils {
*
* @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 class ValidatorUtils {
* @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) {