Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The fields zxid, cxid and clientId in ProcessTxnResult are never used. cxid and clientId are used in equals() and hashCode() but the class is never ever used as a key or compared.
Keeping equals() and hashCode() "just in case" is a bad idea:
http://www.infoq.com/news/2011/05/less-code-is-better
Attachments
Attachments
Issue Links
- is depended upon by
-
ZOOKEEPER-1285 make DataTree immutable
- Open