This is an automated email from the ASF dual-hosted git repository.

garydgregory 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 f43042ba3 [javadoc] Correct hexadecimal output examples in Conversion 
(#1844)
f43042ba3 is described below

commit f43042ba3ea521dec665b4d08d03227673730975
Author: Pendela Phanindra Rao <[email protected]>
AuthorDate: Fri Oct 30 15:53:24 2026 +0530

    [javadoc] Correct hexadecimal output examples in Conversion (#1844)
    
    Update two Javadoc examples to show lowercase hexadecimal output, matching 
the implementation and existing tests. No runtime behavior changes.
---
 src/main/java/org/apache/commons/lang3/Conversion.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/Conversion.java 
b/src/main/java/org/apache/commons/lang3/Conversion.java
index c115b6dc6..6391fedfc 100644
--- a/src/main/java/org/apache/commons/lang3/Conversion.java
+++ b/src/main/java/org/apache/commons/lang3/Conversion.java
@@ -250,7 +250,7 @@ public static char binaryToHexDigitMsb0_4bits(final 
boolean[] src) {
      * Converts binary (represented as boolean array) to a hexadecimal digit 
using the MSB0 bit ordering.
      *
      * <p>
-     * (1, 0, 0, 0) is converted as follow: '8' (1, 0, 0, 1, 1, 0, 1, 0) with 
srcPos = 3 is converted to 'D'
+     * (1, 0, 0, 0) is converted as follow: '8' (1, 0, 0, 1, 1, 0, 1, 0) with 
srcPos = 3 is converted to 'd'
      * </p>
      *
      * @param src    The binary to convert.
@@ -973,7 +973,7 @@ public static String intToHex(final int src, final int 
srcPos, final String dstI
      * 1 returns '1'
      * </p>
      * <p>
-     * 10 returns 'A' and so on...
+     * 10 returns 'a' and so on...
      * </p>
      *
      * @param nibble The 4 bits to convert.

Reply via email to