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

Robert Joseph Evans reassigned STORM-2503:
------------------------------------------

    Assignee: Robert Joseph Evans

> lgtm.com alerts: bugs in equality and comparison operations
> -----------------------------------------------------------
>
>                 Key: STORM-2503
>                 URL: https://issues.apache.org/jira/browse/STORM-2503
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Aditya Sharad
>            Assignee: Robert Joseph Evans
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> There are a number of alerts found by lgtm.com at 
> https://lgtm.com/projects/g/apache/storm/alerts/ that indicate genuine bugs 
> in comparison operations in the Storm code.
> These rules include:
> * Equals on incomparable types (leading to bugs in comparison or caching)
> * Hashed value without hashCode definition
> * Inconsistent equals and hashCode (together with the previous one, this 
> indicates some missing {{hashCode}} implementations)
> * Comparison of identical values (indicating incorrect comparator logic in 
> {{DefaultResourceAwareStrategy}})
> * Useless comparison test (indicating a variable name typo)
> * Suspicious reference equality test of boxed types (indicating a spurious 
> use of {{==}} instead of {{equals}} on boxed types)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to