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 2025/07/19 13:16:46 UTC
(commons-codec) 11/17: This old tweak doesn't satisfy FindBugs
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-codec.git
commit 8ad83cb10a371d440ba57cc1af74389a073a310d
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sat Jul 19 08:29:32 2025 -0400
This old tweak doesn't satisfy FindBugs
---
src/main/java/org/apache/commons/codec/digest/PureJavaCrc32.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/codec/digest/PureJavaCrc32.java b/src/main/java/org/apache/commons/codec/digest/PureJavaCrc32.java
index 33bebfeb..38fcd0d5 100644
--- a/src/main/java/org/apache/commons/codec/digest/PureJavaCrc32.java
+++ b/src/main/java/org/apache/commons/codec/digest/PureJavaCrc32.java
@@ -635,8 +635,6 @@ public class PureJavaCrc32 implements Checksum {
case 1:
localCrc = localCrc >>> 8 ^ T[(localCrc ^ b[i++]) << 24 >>> 24];
// falls-through
- default:
- // nothing
}
// Publish crc out to object
crc = localCrc;