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:
Tsz-wo Sze 2011-05-28 22:29:54 +00:00
parent 5ec9e9e0a2
commit 0317cf74cd
2 changed files with 5 additions and 2 deletions

View File

@ -185,6 +185,8 @@ Trunk (unreleased changes)
HADOOP-7312. Update value of hadoop.common.configuration.version. HADOOP-7312. Update value of hadoop.common.configuration.version.
(Harsh J Chouraria via todd) (Harsh J Chouraria via todd)
HADOOP-7337. Change PureJavaCrc32 annotations to public stable. (szetszwo)
OPTIMIZATIONS OPTIMIZATIONS
HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole

View File

@ -34,13 +34,14 @@ import org.apache.hadoop.classification.InterfaceStability;
* *
* @see java.util.zip.CRC32 * @see java.util.zip.CRC32
*/ */
@InterfaceAudience.Private @InterfaceAudience.Public
@InterfaceStability.Unstable @InterfaceStability.Stable
public class PureJavaCrc32 implements Checksum { public class PureJavaCrc32 implements Checksum {
/** the current CRC value, bit-flipped */ /** the current CRC value, bit-flipped */
private int crc; private int crc;
/** Create a new PureJavaCrc32 object. */
public PureJavaCrc32() { public PureJavaCrc32() {
reset(); reset();
} }