[
https://issues.apache.org/jira/browse/SDAP-199?focusedWorklogId=290041&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-290041
]
ASF GitHub Bot logged work on SDAP-199:
---------------------------------------
Author: ASF GitHub Bot
Created on: 06/Aug/19 22:52
Start Date: 06/Aug/19 22:52
Worklog Time Spent: 10m
Work Description: kamaci commented on pull request #47: SDAP-199 equals()
is used for java.lang.Integer instead of == or !=, because it is not comparing
actual value but locations in memory.
URL: https://github.com/apache/incubator-sdap-mudrod/pull/47
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 290041)
Time Spent: 10m
Remaining Estimate: 0h
> 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: 10m
> 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)