From bbf5714b5ab475a1b7b939ee6e4a9ccd6202308b Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 2 Jul 2023 17:11:14 -0400 Subject: [PATCH] Deprecate ExceptionUtils.ExceptionUtils() --- src/changes/changes.xml | 1 + .../org/apache/commons/lang3/exception/ExceptionUtils.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d4e0e4210..046b62589 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -121,6 +121,7 @@ The type attribute can be add,update,fix,remove. Corrected value of SystemUtils.JAVA_VENDOR #1066. [StepSecurity] ci: Harden GitHub Actions #1067. Update Javadoc for the insert methods in ArrayUtils #1078. + Deprecate ExceptionUtils.ExceptionUtils(). Add GitHub coverage.yml. Add EnumUtils.getEnumSystemProperty(...). diff --git a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java index 3125aab41..c98b5ed36 100644 --- a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java +++ b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java @@ -1012,7 +1012,10 @@ public class ExceptionUtils { /** * Public constructor allows an instance of {@link ExceptionUtils} to be created, although that is not * normally necessary. + * + * @deprecated Will be private in 3.0. */ + @Deprecated public ExceptionUtils() { } }