tephra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TEPHRA-286) AbstractTransactionAwareTable.ActionChange equals method always returns false
Date Tue, 20 Mar 2018 02:36:00 GMT

     [ https://issues.apache.org/jira/browse/TEPHRA-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Taylor updated TEPHRA-286:
--------------------------------
    Attachment: TEPHRA-286_v1.patch

> 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)

Mime
View raw message