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 13:55:00 UTC
[jira] [Created] (SYSTEMML-2528) Change String.equals to
Objects.equals(String,String) to avoid NullPointerException
bd2019us created SYSTEMML-2528:
----------------------------------
Summary: 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
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)