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 2024/01/25 14:56:51 UTC
(commons-lang) 23/41: Depreacte EventUtils 0-argument contructor
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
commit a84d013078e491c641e044f04a30a831e76c9d43
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jan 25 09:27:41 2024 -0500
Depreacte EventUtils 0-argument contructor
---
src/main/java/org/apache/commons/lang3/event/EventUtils.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/main/java/org/apache/commons/lang3/event/EventUtils.java b/src/main/java/org/apache/commons/lang3/event/EventUtils.java
index c28c0b68a..736a4ef5b 100644
--- a/src/main/java/org/apache/commons/lang3/event/EventUtils.java
+++ b/src/main/java/org/apache/commons/lang3/event/EventUtils.java
@@ -126,4 +126,14 @@ public class EventUtils {
new Class[] { listenerType }, new EventBindingInvocationHandler(target, methodName, eventTypes)));
addEventListener(eventSource, listenerType, listener);
}
+
+ /**
+ * Make private in 4.0.
+ *
+ * @deprecated TODO Make private in 4.0.
+ */
+ @Deprecated
+ public EventUtils() {
+ // empty
+ }
}