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 b2992b603 Fix local variable name
b2992b603 is described below
commit b2992b603c555144746b2215e64fa9b19516d34e
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Dec 28 10:34:44 2023 -0500
Fix local variable name
---
.../commons/compress/utils/ChecksumVerifyingInputStreamTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 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 4bb37e7da..f569f1d93 100644
---
a/src/test/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStreamTest.java
+++
b/src/test/java/org/apache/commons/compress/utils/ChecksumVerifyingInputStreamTest.java
@@ -46,10 +46,10 @@ public class ChecksumVerifyingInputStreamTest {
@Test
public void testReadTakingNoArgumentsThrowsIOException() throws
IOException {
- final CRC32 cRC32_ = new CRC32();
+ final CRC32 crc32 = new CRC32();
final byte[] byteArray = new byte[9];
final ByteArrayInputStream byteArrayInputStream = new
ByteArrayInputStream(byteArray);
- try (ChecksumVerifyingInputStream checksumVerifyingInputStream = new
ChecksumVerifyingInputStream(cRC32_, byteArrayInputStream, (byte) 1, (byte) 1))
{
+ try (ChecksumVerifyingInputStream checksumVerifyingInputStream = new
ChecksumVerifyingInputStream(crc32, byteArrayInputStream, (byte) 1, (byte) 1)) {
assertThrows(IOException.class, () ->
checksumVerifyingInputStream.read());
}
}