systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [systemml] bd2019us opened a new pull request #863: [SYSTEMML-2528] Change String.equals to Objects.equals to avoid NullPointerException
Date Sat, 13 Apr 2019 14:20:41 GMT
bd2019us opened a new pull request #863: [SYSTEMML-2528] Change String.equals to Objects.equals
to avoid NullPointerException
URL: https://github.com/apache/systemml/pull/863
 
 
   Hello,
   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message