Skip to content

Commit

Permalink
No need for blank Javadoc lines between Javadoc @ tags
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 29, 2024
1 parent 59fbf5e commit 0250949
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/apache/commons/validator/util/Flags.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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) {
Expand All @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Object> copyMap(final Map<String, Object> map) {
Expand Down Expand Up @@ -111,7 +110,6 @@ public static Map<String, Object> copyMap(final Map<String, Object> 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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 0250949

Please sign in to comment.