[ https://issues.apache.org/jira/browse/CASSANDRA-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218865#comment-13218865 ]
Jonathan Ellis commented on CASSANDRA-3976: ------------------------------------------- Wouldn't just start/finish.length == 0 be simpler? > [patch[ don't compare byte arrays with == > ----------------------------------------- > > Key: CASSANDRA-3976 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3976 > Project: Cassandra > Issue Type: Improvement > Components: Hadoop > Reporter: Dave Brosius > Priority: Trivial > Attachments: cmp_bytearrays_w_equals.diff > > > code compares byte arrays with ==, use Arrays.equals > patch against trunk -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira