From 388251dd299efd54daebdbe3972d5e6dddf4f590 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Thu, 25 Jan 2024 09:17:44 -0500 Subject: [PATCH] Depreacte ClassLoaderUtils 0-argument contructor --- .../org/apache/commons/lang3/ClassLoaderUtils.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/org/apache/commons/lang3/ClassLoaderUtils.java b/src/main/java/org/apache/commons/lang3/ClassLoaderUtils.java index 229d2f6cb..2b66d8c05 100644 --- a/src/main/java/org/apache/commons/lang3/ClassLoaderUtils.java +++ b/src/main/java/org/apache/commons/lang3/ClassLoaderUtils.java @@ -77,4 +77,14 @@ public class ClassLoaderUtils { public static String toString(final URLClassLoader classLoader) { return classLoader != null ? classLoader + Arrays.toString(classLoader.getURLs()) : "null"; } + + /** + * Make private in 4.0. + * + * @deprecated TODO Make private in 4.0. + */ + @Deprecated + public ClassLoaderUtils() { + // empty + } }