You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2019/08/06 23:07:00 UTC
[jira] [Updated] (SDAP-199) Boxed Types Should Be Compared Using
equals()
[ https://issues.apache.org/jira/browse/SDAP-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney updated SDAP-199:
--------------------------------------
Resolution: Fixed
Status: Done (was: To Do)
Thanks [~kamaci]
> Boxed Types Should Be Compared Using equals()
> ---------------------------------------------
>
> Key: SDAP-199
> URL: https://issues.apache.org/jira/browse/SDAP-199
> Project: Apache Science Data Analytics Platform
> Issue Type: Bug
> Components: mudrod
> Reporter: Furkan KAMACI
> Priority: Major
> Fix For: 0.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> It's a mistake to compare two instances of boxed types like java.lang.Integer using reference equality == or !=, because it is not comparing actual value but locations in memory.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)