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-logging.git
The following commit(s) were added to refs/heads/master by this push:
new 7b32e7c Rename test class
7b32e7c is described below
commit 7b32e7cb9478e1432c87c25d464f87c6dd47e979
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Dec 18 09:53:49 2024 -0500
Rename test class
---
.../java/org/apache/commons/logging/impl/WeakHashtableTestCase.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/src/test/java/org/apache/commons/logging/impl/WeakHashtableTestCase.java
b/src/test/java/org/apache/commons/logging/impl/WeakHashtableTestCase.java
index ea6ad98..1a43cf9 100644
--- a/src/test/java/org/apache/commons/logging/impl/WeakHashtableTestCase.java
+++ b/src/test/java/org/apache/commons/logging/impl/WeakHashtableTestCase.java
@@ -30,9 +30,9 @@ import junit.framework.TestCase;
public class WeakHashtableTestCase extends TestCase {
- public static class StupidThread extends Thread {
+ public static class TestThread extends Thread {
- public StupidThread(final String name) {
+ public TestThread(final String name) {
super(name);
}
@@ -183,7 +183,7 @@ public class WeakHashtableTestCase extends TestCase {
for (int j=1; j <= OUTER_LOOP; j++) {
hashtable = new WeakHashtable();
for (int i = 0; i < t.length; i++) {
- t[i] = new StupidThread("Thread:" + i);
+ t[i] = new TestThread("Thread:" + i);
t[i].setDaemon(true); // Otherwise we cannot exit
t[i].start();
}