[prev in list] [next in list] [prev in thread] [next in thread]
List: geronimo-dev
Subject: [jira] [Updated] (GERONIMO-6721) Change String.equals to Objects.equals(String,String) to avoid poss
From: "bd2019us (JIRA)" <jira () apache ! org>
Date: 2019-04-14 3:34:00
Message-ID: JIRA.13227911.1555212580000.67877.1555212840028 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/GERONIMO-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
bd2019us updated GERONIMO-6721:
-------------------------------
Attachment: 1.patch
> Change String.equals to Objects.equals(String,String) to avoid possible \
> NullPointerException
> --------------------------------------------------------------------------------------------
>
> Key: GERONIMO-6721
> URL: https://issues.apache.org/jira/browse/GERONIMO-6721
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: bd2019us
> Priority: Major
> Attachments: 1.patch
>
>
> Hello,
> I found that the String "mode" may cause potential risk of NullPointerException \
> since the method "getParameter" may return a null value. One recommended API is \
> Objects.equals(String,String) which can avoid this exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic