This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git

commit ca3c842cece14405a746fc573152e15faa50f482
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jun 14 08:22:01 2025 -0400

    Add missing test per JaCoCo test coverage
---
 .../apache/commons/lang3/concurrent/locks/LockingVisitorsTest.java  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/src/test/java/org/apache/commons/lang3/concurrent/locks/LockingVisitorsTest.java
 
b/src/test/java/org/apache/commons/lang3/concurrent/locks/LockingVisitorsTest.java
index 3670337b8..9dd9e10b5 100644
--- 
a/src/test/java/org/apache/commons/lang3/concurrent/locks/LockingVisitorsTest.java
+++ 
b/src/test/java/org/apache/commons/lang3/concurrent/locks/LockingVisitorsTest.java
@@ -101,6 +101,12 @@ void testCreate() {
         assertEquals(2, res.get());
     }
 
+    @SuppressWarnings("deprecation")
+    @Test
+    void testDeprecatedConstructor() {
+        assertNotNull(new LockingVisitors().toString());
+    }
+
     @Test
     void testReentrantReadWriteLockExclusive() throws Exception {
 

Reply via email to