HDFS-13761. Add toString Method to AclFeature Class. Contributed by Shweta.
This commit is contained in:
parent
849c45db18
commit
26864471c2
|
@ -72,6 +72,11 @@ public class AclFeature implements INode.Feature, ReferenceCounter {
|
|||
return Arrays.equals(entries, ((AclFeature) o).entries);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "AclFeature : " + Integer.toHexString(hashCode()) + " Size of entries : " + entries.length;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Arrays.hashCode(entries);
|
||||
|
|
Loading…
Reference in New Issue