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 a11beebc1 Remove unnecessary cast.
a11beebc1 is described below

commit a11beebc1e1c15119f6b73ef3af59fca5fc30f6e
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jul 17 13:01:03 2026 -0700

    Remove unnecessary cast.
---
 src/test/java/org/apache/commons/lang3/BitFieldTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/lang3/BitFieldTest.java 
b/src/test/java/org/apache/commons/lang3/BitFieldTest.java
index f723b3a2e..784acb8f5 100644
--- a/src/test/java/org/apache/commons/lang3/BitFieldTest.java
+++ b/src/test/java/org/apache/commons/lang3/BitFieldTest.java
@@ -155,7 +155,7 @@ void testGetValueTopBit() {
         // The int and long overloads must agree for the same field and holder.
         assertEquals(topByte.getValue(0xFF000000L), 255L);
         // Verify the int and long overloads agree for the same field and 
holder.
-        assertEquals(topByte.getValue(0xFF000000L), (long) 
topByte.getValue(0xFF000000));
+        assertEquals(topByte.getValue(0xFF000000L), 
topByte.getValue(0xFF000000));
         final BitField bit63 = new BitField(0x8000000000000000L);
         assertEquals(bit63.getValue(0x8000000000000000L), 1L);
         assertEquals(bit63.getValue(0L), 0L);

Reply via email to