Skip to content

Commit 0aea5f4

Browse files
committed
Update CRC32 Javadoc
1 parent ac63bb2 commit 0aea5f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • src/main/java/org/indunet/fastproto/checksum

src/main/java/org/indunet/fastproto/checksum/CRC32.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919

2020
/**
21-
* The CRC32 class implements the CRC interface and defines the CRC32 checksum calculation.
22-
* It provides the polynomial and initial value for CRC32.
23-
* The calculate method is used to calculate the CRC32 value of the given data.
24-
* Note that the polynomial and initial value for CRC32 are fixed and cannot be set.
21+
* The CRC32 class implements the CRC interface and calculates CRC32 checksums.
22+
* It uses {@code DEFAULT_POLYNOMIAL} and {@code DEFAULT_INITIAL_VALUE} as defaults.
23+
* These constants may be changed in the constructor or dynamically via
24+
* {@link #setPolynomial(int)} and {@link #setInitialValue(int)}.
2525
*
2626
* @author Deng Ran
2727
* @since 3.11.0

0 commit comments

Comments
 (0)