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 2023/07/02 21:11:20 UTC
[commons-lang] branch master updated: Deprecate ExceptionUtils.ExceptionUtils()
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-lang.git
The following commit(s) were added to refs/heads/master by this push:
new bbf5714b5 Deprecate ExceptionUtils.ExceptionUtils()
bbf5714b5 is described below
commit bbf5714b5ab475a1b7b939ee6e4a9ccd6202308b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jul 2 17:11:14 2023 -0400
Deprecate ExceptionUtils.ExceptionUtils()
---
src/changes/changes.xml | 1 +
src/main/java/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 <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1699" type="fix" dev="ggregory" due-to="Darren Coleman">Corrected value of SystemUtils.JAVA_VENDOR #1066.</action>
<action type="fix" dev="ggregory" due-to="step-security-bot, Gary Gregory">[StepSecurity] ci: Harden GitHub Actions #1067.</action>
<action type="fix" dev="ggregory" due-to="Dimitrios Efthymiou">Update Javadoc for the insert methods in ArrayUtils #1078.</action>
+ <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate ExceptionUtils.ExceptionUtils().</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">Add GitHub coverage.yml.</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add EnumUtils.getEnumSystemProperty(...).</action>
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() {
}
}