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

commit bc3341a9f98140710f426c78885d630a681111fc
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jan 14 16:35:31 2024 -0500

    Remove unused package-private and untested code
---
 .../java/org/apache/commons/compress/compressors/bzip2/CRC.java   | 8 --------
 1 file changed, 8 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/compressors/bzip2/CRC.java 
b/src/main/java/org/apache/commons/compress/compressors/bzip2/CRC.java
index f2c2b4eed..c923e3ab5 100644
--- a/src/main/java/org/apache/commons/compress/compressors/bzip2/CRC.java
+++ b/src/main/java/org/apache/commons/compress/compressors/bzip2/CRC.java
@@ -58,18 +58,10 @@ final class CRC {
         return ~globalCrc;
     }
 
-    int getGlobalCRC() {
-        return globalCrc;
-    }
-
     void initializeCRC() {
         globalCrc = 0xffffffff;
     }
 
-    void setGlobalCRC(final int newCrc) {
-        globalCrc = newCrc;
-    }
-
     void updateCRC(final int inCh) {
         int temp = globalCrc >> 24 ^ inCh;
         if (temp < 0) {

Reply via email to