bd2019us opened a new pull request, #2997:
URL: https://github.com/apache/storm/pull/2997

   Hello,
   I found that if the Map "data" does not have the key "TYPE", the String 
"compType" may cause potential risk of NullPointerException since it is 
immediately used after initialization and there is no null checker. 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.

To unsubscribe, e-mail: dev-unsubscr...@storm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to