You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "bd2019us (JIRA)" <ji...@apache.org> on 2019/04/13 14:26:00 UTC
[jira] [Updated] (SYSTEMML-2528) Change String.equals to
Objects.equals(String,String) to avoid NullPointerException
[ https://issues.apache.org/jira/browse/SYSTEMML-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bd2019us updated SYSTEMML-2528:
-------------------------------
Attachment: 1.patch
> Change String.equals to Objects.equals(String,String) to avoid NullPointerException
> -----------------------------------------------------------------------------------
>
> Key: SYSTEMML-2528
> URL: https://issues.apache.org/jira/browse/SYSTEMML-2528
> Project: SystemML
> Issue Type: Bug
> Reporter: bd2019us
> Priority: Major
> Attachments: 1.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Hello,
> I found that the String "execType" and "opcode" in the two files may have potential risk of
> NullPointerException since they are immediately used after initialization. One recommended API is Objects.equals(String,String) which can avoid this exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)