This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 1.X
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/1.X by this push:
new c6473402 Fix typos in comments
c6473402 is described below
commit c6473402f2cd229d297d61228752c04fea17cee2
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Aug 21 09:12:01 2024 -0400
Fix typos in comments
---
.../beanutils/converters/BooleanArrayConverterTestCase.java | 2 +-
.../org/apache/commons/beanutils/converters/MemoryTestCase.java | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/src/test/java/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java
b/src/test/java/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java
index fbf30c62..bfc73ec4 100644
---
a/src/test/java/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java
+++
b/src/test/java/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java
@@ -68,7 +68,7 @@ public class BooleanArrayConverterTestCase extends TestCase {
try {
// the literal string 'true' should no longer be recognized as
- // a true value..
+ // a true value.
converter.convert(null, "true");
fail("Converting invalid string should have generated an
exception");
} catch(final Exception ex) {
diff --git
a/src/test/java/org/apache/commons/beanutils/converters/MemoryTestCase.java
b/src/test/java/org/apache/commons/beanutils/converters/MemoryTestCase.java
index 6d52cf46..cb7817e1 100644
--- a/src/test/java/org/apache/commons/beanutils/converters/MemoryTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils/converters/MemoryTestCase.java
@@ -75,7 +75,7 @@ public class MemoryTestCase {
}
// and let's do one more just to clean up any garbage we might have
- // created on the last pass..
+ // created on the last pass.
System.gc();
}
@@ -166,7 +166,7 @@ public class MemoryTestCase {
} finally {
// Restore context classloader that was present before this
// test started. It is expected to be the same as the system
- // classloader, but we handle all cases here..
+ // classloader, but we handle all cases here.
Thread.currentThread().setContextClassLoader(origContextClassLoader);
// and restore all the standard converters
@@ -215,7 +215,7 @@ public class MemoryTestCase {
// When we first do a ConvertUtils operation inside a custom
// classloader, we get a completely fresh copy of the
- // ConvertUtilsBean, with all-new Converter objects in it..
+ // ConvertUtilsBean, with all-new Converter objects in it.
assertFalse(ConvertUtils.lookup(Float.TYPE) ==
origFloatConverter);
// Now we register a custom converter (but of a standard
class).
@@ -281,7 +281,7 @@ public class MemoryTestCase {
} finally {
// Restore context classloader that was present before this
// test started. It is expected to be the same as the system
- // classloader, but we handle all cases here..
+ // classloader, but we handle all cases here.
Thread.currentThread().setContextClassLoader(origContextClassLoader);
// and restore all the standard converters