You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Aaron Coburn (JIRA)" <ji...@apache.org> on 2018/03/20 19:42:00 UTC

[jira] [Resolved] (TAMAYA-333) ::equals(Object) implementation should correctly handle null arguments

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

Aaron Coburn resolved TAMAYA-333.
---------------------------------
    Resolution: Fixed

> ::equals(Object) implementation should correctly handle null arguments
> ----------------------------------------------------------------------
>
>                 Key: TAMAYA-333
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-333
>             Project: Tamaya
>          Issue Type: Bug
>          Components: Core
>            Reporter: Aaron Coburn
>            Priority: Minor
>             Fix For: 0.4-incubating
>
>
> As described by the findbugs report:
> {quote}This implementation of equals(Object) violates the contract defined by java.lang.Object.equals() because it does not check for null being passed as the argument. All equals() methods should return false if passed a null value.
> {quote}
> The various converter implementations are affected by this. Adding a null check would be very easy to include.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)