Skip to content

Commit 5eba81e

Browse files
committed
Comment: Remove unnecessary Latin acronym
1 parent 547b266 commit 5eba81e

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@
110110
*
111111
* // Construct an array Converter for an integer array (i.e. int[]) using
112112
* // an IntegerConverter as the element converter.
113-
* // N.B. Uses the default comma (i.e. ",") as the delimiter between individual numbers
113+
* // Uses the default comma (i.e. ",") as the delimiter between individual numbers
114114
* ArrayConverter arrayConverter = new ArrayConverter(int[].class, integerConverter);
115115
*
116116
* // Construct a "Matrix" Converter which converts arrays of integer arrays using
117117
* // the pre-ceeding ArrayConverter as the element Converter.
118-
* // N.B. Uses a semi-colon (i.e. ";") as the delimiter to separate the different sets of numbers.
118+
* // Uses a semi-colon (i.e. ";") as the delimiter to separate the different sets of numbers.
119119
* // Also the delimiter used by the first ArrayConverter needs to be added to the
120120
* // "allowed characters" for this one.
121121
* ArrayConverter matrixConverter = new ArrayConverter(int[][].class, arrayConverter);

src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ protected <T> T convertToType(final Class<T> targetType, final Object value) thr
193193
// Handle java.sql.Timestamp
194194
if (value instanceof java.sql.Timestamp) {
195195

196-
// N.B. Prior to JDK 1.4 the Timestamp's getTime() method
196+
// Prior to JDK 1.4 the Timestamp's getTime() method
197197
// didn't include the milliseconds. The following code
198198
// ensures it works consistently accross JDK versions
199199
final java.sql.Timestamp timestamp = (java.sql.Timestamp)value;

src/test/java/org/apache/commons/beanutils/bugs/Jira87TestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void testJira87() {
9797

9898
final Jira87BeanFactory.PublicMappedInterface bean = Jira87BeanFactory.createMappedPropertyBean();
9999
try {
100-
// N.B. The test impl. returns the key value
100+
// The test impl. returns the key value
101101
assertEquals("foo", PropertyUtils.getMappedProperty(bean, "value(foo)"));
102102
} catch (final Throwable t) {
103103
log.error("ERROR " + t, t);

src/test/java/org/apache/commons/beanutils/converters/ArrayConverterTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,12 +340,12 @@ public void testTheMatrix() {
340340

341341
// Construct an array Converter for an integer array (i.e. int[]) using
342342
// an IntegerConverter as the element converter.
343-
// N.B. Uses the default comma (i.e. ",") as the delimiter between individual numbers
343+
// Uses the default comma (i.e. ",") as the delimiter between individual numbers
344344
final ArrayConverter arrayConverter = new ArrayConverter(int[].class, integerConverter);
345345

346346
// Construct a "Matrix" Converter which converts arrays of integer arrays using
347347
// the first (int[]) Converter as the element Converter.
348-
// N.B. Uses a semi-colon (i.e. ";") as the delimiter to separate the different sets of numbers.
348+
// Uses a semi-colon (i.e. ";") as the delimiter to separate the different sets of numbers.
349349
// Also the delimiter for the above array Converter needs to be added to this
350350
// array Converter's "allowed characters"
351351
final ArrayConverter matrixConverter = new ArrayConverter(int[][].class, arrayConverter);

src/test/java/org/apache/commons/beanutils/converters/DateConverterTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public DateConverterTestBase(final String name) {
5858
long getTimeInMillis(final Object date) {
5959

6060
if (date instanceof java.sql.Timestamp) {
61-
// N.B. Prior to JDK 1.4 the Timestamp's getTime() method
61+
// Prior to JDK 1.4 the Timestamp's getTime() method
6262
// didn't include the milliseconds. The following code
6363
// ensures it works consistently accross JDK versions
6464
final java.sql.Timestamp timestamp = (java.sql.Timestamp)date;

src/test/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ public void setUp() throws Exception {
7575
defaultShortDateValue = "10/01/04";
7676

7777
// Use German Locale
78-
// localizedLocale = Locale.GERMAN; // N.B. doesn't work for dates
79-
// localizedLocale = Locale.GERMANY; // N.B. doesn't work for dates
78+
// localizedLocale = Locale.GERMAN; // doesn't work for dates
79+
// localizedLocale = Locale.GERMANY; // doesn't work for dates
8080
localizedLocale = new Locale("de", "AT"); // Austria/German works
8181
localizedDatePattern = "t MMMM uuuu";
8282
localizedDateValue = "1 Oktober 2004";

0 commit comments

Comments
 (0)