[ https://issues.apache.org/jira/browse/SDAP-199?focusedWorklogId=290050&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-290050 ]
ASF GitHub Bot logged work on SDAP-199: --------------------------------------- Author: ASF GitHub Bot Created on: 06/Aug/19 23:05 Start Date: 06/Aug/19 23:05 Worklog Time Spent: 10m Work Description: lewismc 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 290050) Time Spent: 20m (was: 10m) > 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)