From 32196a11adc90718f225a768f066b579f50481ab Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Thu, 25 Jan 2024 09:26:48 -0500 Subject: [PATCH] Depreacte LockingVisitors 0-argument contructor --- .../commons/lang3/concurrent/locks/LockingVisitors.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/org/apache/commons/lang3/concurrent/locks/LockingVisitors.java b/src/main/java/org/apache/commons/lang3/concurrent/locks/LockingVisitors.java index 0d11fad77..400eb1a77 100644 --- a/src/main/java/org/apache/commons/lang3/concurrent/locks/LockingVisitors.java +++ b/src/main/java/org/apache/commons/lang3/concurrent/locks/LockingVisitors.java @@ -383,4 +383,13 @@ public class LockingVisitors { return new LockingVisitors.StampedLockVisitor<>(object, new StampedLock()); } + /** + * Make private in 4.0. + * + * @deprecated TODO Make private in 4.0. + */ + @Deprecated + public LockingVisitors() { + // empty + } }