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-lang.git
The following commit(s) were added to refs/heads/master by this push: new 64d6a28a1 Comment: Remove unnecessary Latin acronym 64d6a28a1 is described below commit 64d6a28a12d99a02e41cdd746ec0df221c93bcea Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Mar 14 10:06:24 2025 -0400 Comment: Remove unnecessary Latin acronym --- pom.xml | 2 +- src/main/java/org/apache/commons/lang3/BooleanUtils.java | 2 +- src/main/java/org/apache/commons/lang3/math/NumberUtils.java | 4 ++-- src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 37b50e020..6a7d60aeb 100644 --- a/pom.xml +++ b/pom.xml @@ -126,7 +126,7 @@ The above seems to change the download page name but not any other properties that depend on the componentid. - N.B. The componentid is also used by the parent pom as part of the OSGI symbolic name. + The componentid is also used by the parent pom as part of the OSGI symbolic name. --> <commons.componentid>lang</commons.componentid> <commons.packageId>lang3</commons.packageId> diff --git a/src/main/java/org/apache/commons/lang3/BooleanUtils.java b/src/main/java/org/apache/commons/lang3/BooleanUtils.java index 833e7c8bc..cc6a55916 100644 --- a/src/main/java/org/apache/commons/lang3/BooleanUtils.java +++ b/src/main/java/org/apache/commons/lang3/BooleanUtils.java @@ -707,7 +707,7 @@ public static Boolean toBooleanObject(final Integer value, final Integer trueVal * if unboxed to a {@code boolean}.</p> * * <pre> - * // N.B. case is not significant + * // Case is not significant * BooleanUtils.toBooleanObject(null) = null * BooleanUtils.toBooleanObject("true") = Boolean.TRUE * BooleanUtils.toBooleanObject("T") = Boolean.TRUE // i.e. T[RUE] diff --git a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java index 3f12e3564..0b0d5b535 100644 --- a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java +++ b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java @@ -250,7 +250,7 @@ public static Float createFloat(final String str) { * Creates an {@link Integer} from a {@link String}. * * Handles hexadecimal (0xhhhh) and octal (0dddd) notations. - * N.B. a leading zero means octal; spaces are not trimmed. + * A leading zero means octal; spaces are not trimmed. * * <p>Returns {@code null} if the string is {@code null}.</p> * @@ -270,7 +270,7 @@ public static Integer createInteger(final String str) { * Creates a {@link Long} from a {@link String}. * * Handles hexadecimal (0Xhhhh) and octal (0ddd) notations. - * N.B. a leading zero means octal; spaces are not trimmed. + * A leading zero means octal; spaces are not trimmed. * * <p>Returns {@code null} if the string is {@code null}.</p> * diff --git a/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java b/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java index 75f98b1c2..48bf3385f 100644 --- a/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java @@ -1147,7 +1147,7 @@ public void TestLang747() { assertEquals(Long.valueOf(0x80000000000000L), NumberUtils.createNumber("0x80000000000000")); assertEquals(Long.valueOf(0x800000000000000L), NumberUtils.createNumber("0x800000000000000")); assertEquals(Long.valueOf(0x7FFFFFFFFFFFFFFFL), NumberUtils.createNumber("0x7FFFFFFFFFFFFFFF")); - // N.B. Cannot use a hex constant such as 0x8000000000000000L here as that is interpreted as a negative long + // Cannot use a hex constant such as 0x8000000000000000L here as that is interpreted as a negative long assertEquals(new BigInteger("8000000000000000", 16), NumberUtils.createNumber("0x8000000000000000")); assertEquals(new BigInteger("FFFFFFFFFFFFFFFF", 16), NumberUtils.createNumber("0xFFFFFFFFFFFFFFFF")); @@ -1155,7 +1155,7 @@ public void TestLang747() { assertEquals(Long.valueOf(0x80000000000000L), NumberUtils.createNumber("0x00080000000000000")); assertEquals(Long.valueOf(0x800000000000000L), NumberUtils.createNumber("0x0800000000000000")); assertEquals(Long.valueOf(0x7FFFFFFFFFFFFFFFL), NumberUtils.createNumber("0x07FFFFFFFFFFFFFFF")); - // N.B. Cannot use a hex constant such as 0x8000000000000000L here as that is interpreted as a negative long + // Cannot use a hex constant such as 0x8000000000000000L here as that is interpreted as a negative long assertEquals(new BigInteger("8000000000000000", 16), NumberUtils.createNumber("0x00008000000000000000")); assertEquals(new BigInteger("FFFFFFFFFFFFFFFF", 16), NumberUtils.createNumber("0x0FFFFFFFFFFFFFFFF")); }