Skip to content

Commit

Permalink
Deprecate GenericTypeValidator.GenericTypeValidator()
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 28, 2024
1 parent 6801b44 commit 6dc6c13
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" dev="ggregory" due-to="Johannes Weberhofer">Fix order of actual and expected parameters in assertEquals() #246.</action>
<action type="fix" dev="ggregory" due-to="Johannes Weberhofer">InetAddressValidator does not need its instance variable, so uses a touch less memory.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Pick up maven-antrun-plugin version from parent POM org.apache:apache.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate GenericTypeValidator.GenericTypeValidator().</action>
<!-- ADD -->
<action type="add" issue="VALIDATOR-497" dev="sjaranowski" due-to="Slawomir Jaranowski">IBANValidator: add method validate with validation status</action>
<action type="add" dev="sebb">DomainValidatorTest: added Maven profile to simplfy execution.</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,5 +467,15 @@ public static Short formatShort(final String value, final Locale locale) {
return result;
}

/**
* Constructs a new instance.
*
* @deprecated Will be private in the next major version.
*/
@Deprecated
public GenericTypeValidator() {
// empty
}

}

0 comments on commit 6dc6c13

Please sign in to comment.