systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bd2019us (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SYSTEMML-2528) Change String.equals to Objects.equals(String,String) to avoid NullPointerException
Date Sat, 13 Apr 2019 13:55:00 GMT
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)

Mime
View raw message