HADOOP-7337. Change PureJavaCrc32 annotations to public stable.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1128789 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5ec9e9e0a2
commit
0317cf74cd
@ -185,6 +185,8 @@ Trunk (unreleased changes)
|
||||
HADOOP-7312. Update value of hadoop.common.configuration.version.
|
||||
(Harsh J Chouraria via todd)
|
||||
|
||||
HADOOP-7337. Change PureJavaCrc32 annotations to public stable. (szetszwo)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole
|
||||
|
@ -34,13 +34,14 @@
|
||||
*
|
||||
* @see java.util.zip.CRC32
|
||||
*/
|
||||
@InterfaceAudience.Private
|
||||
@InterfaceStability.Unstable
|
||||
@InterfaceAudience.Public
|
||||
@InterfaceStability.Stable
|
||||
public class PureJavaCrc32 implements Checksum {
|
||||
|
||||
/** the current CRC value, bit-flipped */
|
||||
private int crc;
|
||||
|
||||
/** Create a new PureJavaCrc32 object. */
|
||||
public PureJavaCrc32() {
|
||||
reset();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user