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
The following commit(s) were added to refs/heads/master by this push:
new ad157518 Javadoc
ad157518 is described below
commit ad1575188d2f9298b75a7b130abc275582ea0f3a
Author: Gary D. Gregory <[email protected]>
AuthorDate: Mon Aug 18 08:42:38 2025 -0400
Javadoc
---
src/main/java/org/apache/commons/codec/digest/CRC16.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/codec/digest/CRC16.java
b/src/main/java/org/apache/commons/codec/digest/CRC16.java
index d4cc3766..f4eddacf 100644
--- a/src/main/java/org/apache/commons/codec/digest/CRC16.java
+++ b/src/main/java/org/apache/commons/codec/digest/CRC16.java
@@ -22,8 +22,7 @@ import java.util.function.Supplier;
import java.util.zip.Checksum;
/**
- * CRC-16 checksum implementation based on polynomial {@code x<sup>16</spu> +
x^15 + x^2 + 1 (0x8005)} and the initial value {@code 0x0000}. This CRC variant
is
- * also known as CRC-16-MODBUS.
+ * CRC-16 checksum implementations you can customize with a table and input
value.
* <p>
* Since there are so many CRC-16 variants, we do not pick a default.
* </p>
@@ -211,6 +210,9 @@ public class CRC16 implements Checksum {
/**
* Creates a new CRC16-MODBUS.
* <p>
+ * CRC-16 checksum implementation based on polynomial {@code
x<sup>16</spu> + x^15 + x^2 + 1 (0x8005)}.
+ * </p>
+ * <p>
* The init value is {@code 0xFFFF}.
* </p>
*