From 61a0ac00852f22aaf258790a4ce8ccd99d0f6eb7 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Thu, 25 Jan 2024 09:20:47 -0500 Subject: [PATCH] Depreacte RandomStringUtils 0-argument contructor --- src/main/java/org/apache/commons/lang3/RandomStringUtils.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java index 4afc1ec0d..9a05d74e5 100644 --- a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java +++ b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java @@ -477,8 +477,12 @@ public class RandomStringUtils { * *

This constructor is public to permit tools that require a JavaBean instance * to operate.

+ * + * @deprecated TODO Make private in 4.0. */ + @Deprecated public RandomStringUtils() { + // empty } }