From a84d013078e491c641e044f04a30a831e76c9d43 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Thu, 25 Jan 2024 09:27:41 -0500 Subject: [PATCH] Depreacte EventUtils 0-argument contructor --- .../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 + } }