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
commit 575a10a4572b3bcb049461a6de90711a89cd7c7d Author: Gary D. Gregory <[email protected]> AuthorDate: Sat Dec 28 11:40:11 2024 -0500 Deprecate ValidatorUtils.ValidatorUtils() --- src/changes/changes.xml | 1 + .../java/org/apache/commons/validator/util/ValidatorUtils.java | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 5f850f0c..db5782e3 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -72,6 +72,7 @@ The <action> type attribute can be add,update,fix,remove. <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> <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate GenericValidator.GenericValidator().</action> + <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate ValidatorUtils.ValidatorUtils().</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> 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 dfc15112..94a43b7c 100644 --- a/src/main/java/org/apache/commons/validator/util/ValidatorUtils.java +++ b/src/main/java/org/apache/commons/validator/util/ValidatorUtils.java @@ -153,4 +153,14 @@ public class ValidatorUtils { return value.replace(key, replaceValue); } + /** + * Constructs a new instance. + * + * @deprecated Will be private in the next major version. + */ + @Deprecated + public ValidatorUtils() { + // empty + } + }
