Adding non-javadoc note as per LANG-342

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@564056 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2007-08-09 00:29:21 +00:00
parent 2730ae5394
commit 7fc38e82ec
1 changed files with 5 additions and 0 deletions

View File

@ -807,11 +807,16 @@ public HashCodeBuilder append(int[] array) {
* <p>
* Append a <code>hashCode</code> for a <code>long</code>.
* </p>
* <p>
*
* @param value
* the long to add to the <code>hashCode</code>
* @return this
*/
// NOTE: This method uses >> and not >>> as Effective Java and
// Long.hashCode do. Ideally we should switch to >>> at
// some stage. There are backwards compat issues, so
// that will have to wait for the time being. cf LANG-342.
public HashCodeBuilder append(long value) {
iTotal = iTotal * iConstant + ((int) (value ^ (value >> 32)));
return this;