You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/11/21 18:42:40 UTC

[commons-compress] branch master updated: Use upper-case 'L' instead of 'l' for long literal suffix.

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 50174a9  Use upper-case 'L' instead of 'l' for long literal suffix.
50174a9 is described below

commit 50174a9f89328862359546b250cc72d65bfe2fc5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Nov 21 13:42:36 2020 -0500

    Use upper-case 'L' instead of 'l' for long literal suffix.
---
 .../commons/compress/archivers/zip/ZipArchiveInputStreamTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
index ed7b7a7..ea1bb53 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
@@ -773,7 +773,7 @@ public class ZipArchiveInputStreamTest {
             final ZipArchiveEntry entryA = new ZipArchiveEntry("foo");
             entryA.setMethod(ZipEntry.STORED);
             entryA.setSize(4);
-            entryA.setCrc(0xb63cfbcdl);
+            entryA.setCrc(0xb63cfbcdL);
             zo.putArchiveEntry(entryA);
             zo.write(new byte[] { 1, 2, 3, 4 });
             zo.closeArchiveEntry();