Skip to content

Commit b9aa3bb

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

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

src/main/java/org/apache/commons/beanutils/BeanMap.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,14 @@ public Object setValue(final Object value) {
8484
* An empty array. Used to invoke accessors via reflection.
8585
*/
8686
public static final Object[] NULL_ARGUMENTS = {};
87+
8788
/**
8889
* Maps primitive Class types to transformers. The transformer transform strings into the appropriate primitive wrapper.
8990
*
90-
* N.B. private & unmodifiable replacement for the (public & static) defaultTransformers instance.
91+
* Private & unmodifiable replacement for the (public & static) defaultTransformers instance.
9192
*/
9293
private static final Map<Class<? extends Object>, Transformer> typeTransformers = Collections.unmodifiableMap(createTypeTransformers());
94+
9395
/**
9496
* This HashMap has been made unmodifiable to prevent issues when loaded in a shared ClassLoader enviroment.
9597
*

src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,9 +553,9 @@ public Converter lookup(final Class<?> sourceType, final Class<?> targetType) {
553553
* @param defaultNull <code>true</code>if the <em>standard</em> converters
554554
* (see {@link ConvertUtilsBean#registerStandard(boolean, boolean)})
555555
* should use a default value of <code>null</code>, otherwise <code>false</code>.
556-
* N.B. This values is ignored if <code>throwException</code> is <code>true</code>
556+
* This values is ignored if <code>throwException</code> is <code>true</code>
557557
* @param defaultArraySize The size of the default array value for array converters
558-
* (N.B. This values is ignored if <code>throwException</code> is <code>true</code>).
558+
* (This values is ignored if <code>throwException</code> is <code>true</code>).
559559
* Specifying a value less than zero causes a <code>null</code> value to be used for
560560
* the default.
561561
*/
@@ -614,7 +614,7 @@ private void registerArrayConverter(final Class<?> componentType, final Converte
614614
* throw an exception when a conversion error occurs, otherwise <code>
615615
* <code>false</code> if a default value should be used.
616616
* @param defaultArraySize The size of the default array value for array converters
617-
* (N.B. This values is ignored if <code>throwException</code> is <code>true</code>).
617+
* (This values is ignored if <code>throwException</code> is <code>true</code>).
618618
* Specifying a value less than zero causes a <code>null<code> value to be used for
619619
* the default.
620620
*/
@@ -736,7 +736,7 @@ private void registerPrimitives(final boolean throwException) {
736736
* @param defaultNull <code>true</code>if the <em>standard</em> converters
737737
* (see {@link ConvertUtilsBean#registerStandard(boolean, boolean)})
738738
* should use a default value of <code>null</code>, otherwise <code>false</code>.
739-
* N.B. This values is ignored if <code>throwException</code> is <code>true</code>
739+
* This values is ignored if <code>throwException</code> is <code>true</code>
740740
*/
741741
private void registerStandard(final boolean throwException, final boolean defaultNull) {
742742

src/main/java/org/apache/commons/beanutils/LazyDynaList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public class LazyDynaList extends ArrayList<Object> {
170170
* The WrapDynaClass if the List's contains
171171
* POJO Bean elements.
172172
*
173-
* N.B. WrapDynaClass isn't serlializable, which
173+
* WrapDynaClass isn't serlializable, which
174174
* is why its stored separately in a
175175
* transient instance variable.
176176
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void testArray() {
6363
// Test Array Class to String
6464
assertEquals("Array to String", "[Ljava.lang.Boolean;", converter.convert(String.class, Boolean[].class));
6565

66-
// *** N.B. for some reason the following works on m1, but not m2
66+
// *** For some reason the following works on m1, but not m2
6767
// Test String to Array Class
6868
// assertEquals("String to Array", Boolean[].class, converter.convert(Class.class, "[Ljava.lang.Boolean;"));
6969
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public void testConvertNull() {
173173
/**
174174
* Test default String to type conversion
175175
*
176-
* N.B. This method is overridden by test case
176+
* This method is overridden by test case
177177
* implementations for java.sql.Date/Time/Timestamp
178178
*/
179179
public void testDefaultStringToTypeConvert() {

0 commit comments

Comments
 (0)