[patch] No need to use .equals on enums, just opens up chance of NPE
--------------------------------------------------------------------
Key: CASSANDRA-3046
URL: https://issues.apache.org/jira/browse/CASSANDRA-3046
Project: Cassandra
Issue Type: Improvement
Reporter: Dave Brosius
Priority: Trivial
pretty trivial patch that change enum1.equals(enum2) into enum1 == enum2, as
.equals isn't needed, and just opens up the possibility of NPEs where ==
handles them correctly.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira