mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 11:05:29 +00:00
implemented equals()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724170 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0a55d57763
commit
4fa6c2fe47
@ -140,4 +140,9 @@ public class ZkNodeProps implements JSONWriter.Writable {
|
||||
if(o==null) return b;
|
||||
return Boolean.parseBoolean(o.toString());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object that) {
|
||||
return that instanceof ZkNodeProps && ((ZkNodeProps)that).propMap.equals(this.propMap);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user