HDFS-6402. Suppress findbugs warning for failure to override equals and hashCode in FsAclPermission. Contributed by Chris Nauroth.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1595070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9a0fcae5bc
commit
68867fd1bc
|
@ -560,6 +560,9 @@ Release 2.4.1 - UNRELEASED
|
|||
HDFS-6362. InvalidateBlocks is inconsistent in usage of DatanodeUuid and
|
||||
StorageID. (Arpit Agarwal)
|
||||
|
||||
HDFS-6402. Suppress findbugs warning for failure to override equals and
|
||||
hashCode in FsAclPermission. (cnauroth)
|
||||
|
||||
Release 2.4.0 - 2014-04-07
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -60,4 +60,18 @@ public class FsAclPermission extends FsPermission {
|
|||
public boolean getAclBit() {
|
||||
return aclBit;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
// This intentionally delegates to the base class. This is only overridden
|
||||
// to suppress a FindBugs warning.
|
||||
return super.equals(o);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
// This intentionally delegates to the base class. This is only overridden
|
||||
// to suppress a FindBugs warning.
|
||||
return super.hashCode();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue