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 2025/03/14 14:10:36 UTC
(commons-beanutils) 01/03: Comment: Remove unnecessary Latin acronym
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
commit 5eba81eb9fee52bd02f8880fbd313fd35339b40a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Mar 14 09:44:04 2025 -0400
Comment: Remove unnecessary Latin acronym
---
.../java/org/apache/commons/beanutils/converters/ArrayConverter.java | 4 ++--
.../org/apache/commons/beanutils/converters/DateTimeConverter.java | 2 +-
src/test/java/org/apache/commons/beanutils/bugs/Jira87TestCase.java | 2 +-
.../apache/commons/beanutils/converters/ArrayConverterTestCase.java | 4 ++--
.../apache/commons/beanutils/converters/DateConverterTestBase.java | 2 +-
.../beanutils/locale/converters/DateLocaleConverterTestCase.java | 4 ++--
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java b/src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java
index 3d1980eb..3f162139 100644
--- a/src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java
+++ b/src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java
@@ -110,12 +110,12 @@ import org.apache.commons.beanutils.Converter;
*
* // Construct an array Converter for an integer array (i.e. int[]) using
* // an IntegerConverter as the element converter.
- * // N.B. Uses the default comma (i.e. ",") as the delimiter between individual numbers
+ * // Uses the default comma (i.e. ",") as the delimiter between individual numbers
* ArrayConverter arrayConverter = new ArrayConverter(int[].class, integerConverter);
*
* // Construct a "Matrix" Converter which converts arrays of integer arrays using
* // the pre-ceeding ArrayConverter as the element Converter.
- * // N.B. Uses a semi-colon (i.e. ";") as the delimiter to separate the different sets of numbers.
+ * // Uses a semi-colon (i.e. ";") as the delimiter to separate the different sets of numbers.
* // Also the delimiter used by the first ArrayConverter needs to be added to the
* // "allowed characters" for this one.
* ArrayConverter matrixConverter = new ArrayConverter(int[][].class, arrayConverter);
diff --git a/src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java b/src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java
index e21a0365..699a3b9a 100644
--- a/src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java
+++ b/src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java
@@ -193,7 +193,7 @@ public abstract class DateTimeConverter extends AbstractConverter {
// Handle java.sql.Timestamp
if (value instanceof java.sql.Timestamp) {
- // N.B. Prior to JDK 1.4 the Timestamp's getTime() method
+ // Prior to JDK 1.4 the Timestamp's getTime() method
// didn't include the milliseconds. The following code
// ensures it works consistently accross JDK versions
final java.sql.Timestamp timestamp = (java.sql.Timestamp)value;
diff --git a/src/test/java/org/apache/commons/beanutils/bugs/Jira87TestCase.java b/src/test/java/org/apache/commons/beanutils/bugs/Jira87TestCase.java
index 222de9cc..079cab5c 100644
--- a/src/test/java/org/apache/commons/beanutils/bugs/Jira87TestCase.java
+++ b/src/test/java/org/apache/commons/beanutils/bugs/Jira87TestCase.java
@@ -97,7 +97,7 @@ public class Jira87TestCase extends TestCase {
final Jira87BeanFactory.PublicMappedInterface bean = Jira87BeanFactory.createMappedPropertyBean();
try {
- // N.B. The test impl. returns the key value
+ // The test impl. returns the key value
assertEquals("foo", PropertyUtils.getMappedProperty(bean, "value(foo)"));
} catch (final Throwable t) {
log.error("ERROR " + t, t);
diff --git a/src/test/java/org/apache/commons/beanutils/converters/ArrayConverterTestCase.java b/src/test/java/org/apache/commons/beanutils/converters/ArrayConverterTestCase.java
index 94fd435c..61fb1d76 100644
--- a/src/test/java/org/apache/commons/beanutils/converters/ArrayConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils/converters/ArrayConverterTestCase.java
@@ -340,12 +340,12 @@ public class ArrayConverterTestCase extends TestCase {
// Construct an array Converter for an integer array (i.e. int[]) using
// an IntegerConverter as the element converter.
- // N.B. Uses the default comma (i.e. ",") as the delimiter between individual numbers
+ // Uses the default comma (i.e. ",") as the delimiter between individual numbers
final ArrayConverter arrayConverter = new ArrayConverter(int[].class, integerConverter);
// Construct a "Matrix" Converter which converts arrays of integer arrays using
// the first (int[]) Converter as the element Converter.
- // N.B. Uses a semi-colon (i.e. ";") as the delimiter to separate the different sets of numbers.
+ // Uses a semi-colon (i.e. ";") as the delimiter to separate the different sets of numbers.
// Also the delimiter for the above array Converter needs to be added to this
// array Converter's "allowed characters"
final ArrayConverter matrixConverter = new ArrayConverter(int[][].class, arrayConverter);
diff --git a/src/test/java/org/apache/commons/beanutils/converters/DateConverterTestBase.java b/src/test/java/org/apache/commons/beanutils/converters/DateConverterTestBase.java
index 71651f35..fba563e7 100644
--- a/src/test/java/org/apache/commons/beanutils/converters/DateConverterTestBase.java
+++ b/src/test/java/org/apache/commons/beanutils/converters/DateConverterTestBase.java
@@ -58,7 +58,7 @@ public abstract class DateConverterTestBase extends TestCase {
long getTimeInMillis(final Object date) {
if (date instanceof java.sql.Timestamp) {
- // N.B. Prior to JDK 1.4 the Timestamp's getTime() method
+ // Prior to JDK 1.4 the Timestamp's getTime() method
// didn't include the milliseconds. The following code
// ensures it works consistently accross JDK versions
final java.sql.Timestamp timestamp = (java.sql.Timestamp)date;
diff --git a/src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java b/src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java
index 823d68ea..376d611f 100644
--- a/src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java
@@ -75,8 +75,8 @@ public class DateLocaleConverterTestCase extends BaseLocaleConverterTestCase {
defaultShortDateValue = "10/01/04";
// Use German Locale
-// localizedLocale = Locale.GERMAN; // N.B. doesn't work for dates
-// localizedLocale = Locale.GERMANY; // N.B. doesn't work for dates
+// localizedLocale = Locale.GERMAN; // doesn't work for dates
+// localizedLocale = Locale.GERMANY; // doesn't work for dates
localizedLocale = new Locale("de", "AT"); // Austria/German works
localizedDatePattern = "t MMMM uuuu";
localizedDateValue = "1 Oktober 2004";