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
The following commit(s) were added to refs/heads/master by this push:
new 78357aa1 Comment spelling
78357aa1 is described below
commit 78357aa1b280ec6a43256f6126b88eec265d6397
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Nov 20 09:58:43 2023 -0500
Comment spelling
---
.../org/apache/commons/beanutils2/BeanificationTestCase.java | 8 ++++----
.../apache/commons/beanutils2/converters/ClassReloader.java | 6 +++---
.../commons/beanutils2/converters/ClassReloaderTestCase.java | 2 +-
.../apache/commons/beanutils2/converters/MemoryTestCase.java | 2 +-
.../commons/beanutils2/locale/LocaleBeanificationTestCase.java | 10 +++++-----
5 files changed, 14 insertions(+), 14 deletions(-)
diff --git
a/src/test/java/org/apache/commons/beanutils2/BeanificationTestCase.java
b/src/test/java/org/apache/commons/beanutils2/BeanificationTestCase.java
index 87a893ad..b100dc08 100644
--- a/src/test/java/org/apache/commons/beanutils2/BeanificationTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/BeanificationTestCase.java
@@ -180,7 +180,7 @@ public class BeanificationTestCase extends TestCase {
assertEquals("Second thread gets value it set", beanTwo,
signal.getBean());
}
- /** Tests whether calls are independent for different classloaders */
+ /** Tests whether calls are independent for different class loaders */
public void testContextClassloaderIndependence() throws Exception {
final class TestIndependenceThread extends Thread {
@@ -235,7 +235,7 @@ public class BeanificationTestCase extends TestCase {
}
/**
- * Tests whether difference instances are loaded by different context
classloaders.
+ * Tests whether difference instances are loaded by different context
class loaders.
*/
public void testContextClassLoaderLocal() throws Exception {
@@ -291,7 +291,7 @@ public class BeanificationTestCase extends TestCase {
}
/**
- * Tests whether difference instances are loaded by different context
classloaders.
+ * Tests whether difference instances are loaded by different context
class loaders.
*/
public void testGetByContextClassLoader() throws Exception {
@@ -413,7 +413,7 @@ public class BeanificationTestCase extends TestCase {
// ---- Auxillary classes
- /** Tests whether classloaders and beans are released from memory by the
map used by beanutils */
+ /** Tests whether class loaders and beans are released from memory by the
map used by beanutils */
public void testMemoryLeak2() throws Exception {
// tests when the map used by beanutils has the right behavior
diff --git
a/src/test/java/org/apache/commons/beanutils2/converters/ClassReloader.java
b/src/test/java/org/apache/commons/beanutils2/converters/ClassReloader.java
index a8c0ff3f..5e30a1ad 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/ClassReloader.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/ClassReloader.java
@@ -26,12 +26,12 @@ import java.io.InputStream;
* A special classloader useful for testing j2ee-like scenarios.
*
* <p>
- * In some tests we want to be able to emulate "container" frameworks, where
code runs in a hierarchy of classloaders, and certain classes may be loaded by
- * various classloaders in the hierarchy.
+ * In some tests we want to be able to emulate "container" frameworks, where
code runs in a hierarchy of class loaders, and certain classes may be loaded by
+ * various class loaders in the hierarchy.
* </p>
*
* <p>
- * Normally this is done by having certain jars or class-file-directories in
the classpath of some classloaders but not others. This is quite difficult to
+ * Normally this is done by having certain jars or class-file-directories in
the classpath of some class loaders but not others. This is quite difficult to
* integrate with the build process for the unit tests though; compiling
certain classes and having the output go into places that is not in the default
* classpath for the unit tests would be a major pain.
* </p>
diff --git
a/src/test/java/org/apache/commons/beanutils2/converters/ClassReloaderTestCase.java
b/src/test/java/org/apache/commons/beanutils2/converters/ClassReloaderTestCase.java
index f0f0d3a9..ab5e7a8a 100644
---
a/src/test/java/org/apache/commons/beanutils2/converters/ClassReloaderTestCase.java
+++
b/src/test/java/org/apache/commons/beanutils2/converters/ClassReloaderTestCase.java
@@ -49,7 +49,7 @@ public class ClassReloaderTestCase extends TestCase {
// the two Class objects contain the same bytecode, but are not equal
assertTrue(sharedClass != componentClass);
- // the two class objects have different classloaders
+ // the two class objects have different class loaders
assertSame(sharedLoader, sharedClass.getClassLoader());
assertSame(componentLoader, componentClass.getClassLoader());
assertTrue(sharedLoader != componentLoader);
diff --git
a/src/test/java/org/apache/commons/beanutils2/converters/MemoryTestCase.java
b/src/test/java/org/apache/commons/beanutils2/converters/MemoryTestCase.java
index 23a2bd78..3563518b 100644
--- a/src/test/java/org/apache/commons/beanutils2/converters/MemoryTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils2/converters/MemoryTestCase.java
@@ -30,7 +30,7 @@ import org.apache.commons.beanutils2.Converter;
import org.junit.Test;
/**
- * This class provides a number of unit tests related to classloaders and
garbage collection, particularly in j2ee-like situations.
+ * This class provides a number of unit tests related to class loaders and
garbage collection, particularly in j2ee-like situations.
*/
public class MemoryTestCase {
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 368922b3..1bf8447c 100644
---
a/src/test/java/org/apache/commons/beanutils2/locale/LocaleBeanificationTestCase.java
+++
b/src/test/java/org/apache/commons/beanutils2/locale/LocaleBeanificationTestCase.java
@@ -160,7 +160,7 @@ public class LocaleBeanificationTestCase {
assertEquals(beanTwo, signal.getBean(), "Second thread gets value it
set");
}
- /** Tests whether calls are independent for different classloaders */
+ /** Tests whether calls are independent for different class loaders */
public void testContextClassloaderIndependence() throws Exception {
final class TestIndependenceThread extends Thread {
@@ -233,7 +233,7 @@ public class LocaleBeanificationTestCase {
}
/**
- * Tests whether difference instances are loaded by different context
classloaders.
+ * Tests whether difference instances are loaded by different context
class loaders.
*/
public void testContextClassLoaderLocal() throws Exception {
@@ -289,7 +289,7 @@ public class LocaleBeanificationTestCase {
}
/**
- * Tests whether difference instances are loaded by different context
classloaders.
+ * Tests whether difference instances are loaded by different context
class loaders.
*/
public void testGetByContextClassLoader() throws Exception {
@@ -372,7 +372,7 @@ public class LocaleBeanificationTestCase {
}
}
- /** Tests whether classloaders and beans are released from memory */
+ /** Tests whether class loaders and beans are released from memory */
public void testMemoryLeak() throws Exception {
if (BeanUtilsBeanTestCase.isPre14JVM()) {
System.out.println("WARNING: CANNOT TEST MEMORY LEAK ON PRE1.4
JVM");
@@ -444,7 +444,7 @@ public class LocaleBeanificationTestCase {
}
}
- /** Tests whether classloaders and beans are released from memory by the
map used by beanutils */
+ /** Tests whether class loaders and beans are released from memory by the
map used by beanutils */
public void testMemoryLeak2() {
// tests when the map used by beanutils has the right behavior