From a6cbd6596cb37cf7b8d34a238bc180bcff198f2d Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Thu, 25 Jan 2024 09:37:49 -0500 Subject: [PATCH] Depreacte DurationUtils 0-argument contructor --- .../org/apache/commons/lang3/time/DurationUtils.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/org/apache/commons/lang3/time/DurationUtils.java b/src/main/java/org/apache/commons/lang3/time/DurationUtils.java index 080945490..a243f4153 100644 --- a/src/main/java/org/apache/commons/lang3/time/DurationUtils.java +++ b/src/main/java/org/apache/commons/lang3/time/DurationUtils.java @@ -219,4 +219,13 @@ public class DurationUtils { return ObjectUtils.defaultIfNull(duration, Duration.ZERO); } + /** + * Make private in 4.0. + * + * @deprecated TODO Make private in 4.0. + */ + @Deprecated + public DurationUtils() { + // empty + } }