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-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f86fafc5 Fix local variable name
6f86fafc5 is described below

commit 6f86fafc59f2ea125805405dd30d0114e4aed4c1
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Dec 28 10:34:21 2023 -0500

    Fix local variable name
---
 .../commons/compress/utils/ChecksumVerifyingInputStreamTest.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStreamTest.java
 
b/src/test/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStreamTest.java
index fc7816051..4bb37e7da 100644
--- 
a/src/test/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStreamTest.java
+++ 
b/src/test/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStreamTest.java
@@ -56,14 +56,14 @@ public class ChecksumVerifyingInputStreamTest {
 
     @Test
     public void testSkip() throws IOException {
-        final CRC32 cRC32_ = new CRC32();
+        final CRC32 crc32 = new CRC32();
         final byte[] byteArray = new byte[4];
         final ByteArrayInputStream byteArrayInputStream = new 
ByteArrayInputStream(byteArray);
-        try (ChecksumVerifyingInputStream checksumVerifyingInputStream = new 
ChecksumVerifyingInputStream(cRC32_, byteArrayInputStream, (byte) 33, 2303L)) {
+        try (ChecksumVerifyingInputStream checksumVerifyingInputStream = new 
ChecksumVerifyingInputStream(crc32, byteArrayInputStream, (byte) 33, 2303L)) {
             @SuppressWarnings("unused")
             final int intOne = checksumVerifyingInputStream.read(byteArray);
             final long skipReturnValue = 
checksumVerifyingInputStream.skip((byte) 1);
-            assertEquals(558161692L, cRC32_.getValue());
+            assertEquals(558161692L, crc32.getValue());
             assertEquals(0, byteArrayInputStream.available());
             assertArrayEquals(new byte[] { (byte) 0, (byte) 0, (byte) 0, 
(byte) 0 }, byteArray);
             assertEquals(0L, skipReturnValue);

Reply via email to