You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tephra.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2018/03/20 02:38:00 UTC

[jira] [Commented] (TEPHRA-286) AbstractTransactionAwareTable.ActionChange equals method always returns false

    [ https://issues.apache.org/jira/browse/TEPHRA-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16405715#comment-16405715 ] 

James Taylor commented on TEPHRA-286:
-------------------------------------

Please review, [~poornachandra].

> AbstractTransactionAwareTable.ActionChange equals method always returns false
> -----------------------------------------------------------------------------
>
>                 Key: TEPHRA-286
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-286
>             Project: Tephra
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: James Taylor
>            Priority: Major
>         Attachments: TEPHRA-286_v1.patch
>
>
> The AbstractTransactionAwareTable.ActionChange class uses Objects.equals to compare byte[] which will always return false (unless the two arrays are ==). It should be changed to use Bytes.equals instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)