You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/30 02:17:38 UTC
[commons-beanutils] 03/03: Clean up format mess
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-beanutils.git
commit 69cc060f5f97658b9fef426ee3df2cafa9b9b64b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Dec 27 09:21:55 2022 -0500
Clean up format mess
---
.../locale/LocaleBeanificationTestCase.java | 24 ----------------------
1 file changed, 24 deletions(-)
diff --git a/src/test/java/org/apache/commons/beanutils2/locale/LocaleBeanificationTestCase.java b/src/test/java/org/apache/commons/beanutils2/locale/LocaleBeanificationTestCase.java
index f528474c..91713cb3 100644
--- a/src/test/java/org/apache/commons/beanutils2/locale/LocaleBeanificationTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/locale/LocaleBeanificationTestCase.java
@@ -41,22 +41,12 @@ import junit.framework.TestSuite;
* Test Case for changes made during LocaleBeanutils Beanification.
* This is basically a cut-and-correct version of the beanutils beanifications tests.
* </p>
- *
*/
-
public class LocaleBeanificationTestCase extends TestCase {
-
-
/** Maximum number of iterations before our test fails */
public static final int MAX_GC_ITERATIONS = 50;
-
-
-
-
-
-
/**
* Constructs a new instance of this test case.
*
@@ -66,21 +56,14 @@ public class LocaleBeanificationTestCase extends TestCase {
super(name);
}
-
-
-
-
/**
* Sets up instance variables required by this test case.
*/
@Override
public void setUp() {
-
LocaleConvertUtils.deregister();
-
}
-
/**
* Creates the tests included in this test suite.
*/
@@ -88,7 +71,6 @@ public class LocaleBeanificationTestCase extends TestCase {
return new TestSuite(LocaleBeanificationTestCase.class);
}
-
/**
* Tear down instance variables required by this test case.
*/
@@ -97,9 +79,6 @@ public class LocaleBeanificationTestCase extends TestCase {
// No action required
}
-
-
-
/** Test of the methodology we'll use for some of the later tests */
public void testMemoryTestMethodology() throws Exception {
// test methodology
@@ -213,7 +192,6 @@ public class LocaleBeanificationTestCase extends TestCase {
}
}
-
GetBeanUtilsBeanThread thread = new GetBeanUtilsBeanThread();
final WeakReference<GetBeanUtilsBeanThread> threadWeakReference = new WeakReference<>(thread);
thread.setContextClassLoader(loader);
@@ -520,8 +498,6 @@ public class LocaleBeanificationTestCase extends TestCase {
}
}
- // ---- Auxillary classes
-
class TestClassLoader extends ClassLoader {
@Override
public String toString() {