commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherb...@apache.org
Subject [commons-codec] 03/07: [CODEC-268] Deprecate the NULL_HASHCODE.
Date Tue, 03 Dec 2019 11:38:23 GMT
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git

commit 9125e28ceaca3d3adc2a4e9ab5775334af1f25bb
Author: aherbert <aherbert@apache.org>
AuthorDate: Tue Dec 3 11:15:06 2019 +0000

    [CODEC-268] Deprecate the NULL_HASHCODE.
---
 src/main/java/org/apache/commons/codec/digest/MurmurHash3.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/java/org/apache/commons/codec/digest/MurmurHash3.java b/src/main/java/org/apache/commons/codec/digest/MurmurHash3.java
index a1a03d7..d4876d3 100644
--- a/src/main/java/org/apache/commons/codec/digest/MurmurHash3.java
+++ b/src/main/java/org/apache/commons/codec/digest/MurmurHash3.java
@@ -53,7 +53,10 @@ package org.apache.commons.codec.digest;
 public final class MurmurHash3 {
     /**
      * A random number to use for a hash code.
+     *
+     * @deprecated This is not used internally and will be removed in a future release.
      */
+    @Deprecated
     public static final long NULL_HASHCODE = 2862933555777941757L;
 
     /**


Mime
View raw message