bd2019us opened a new pull request #738: [YARN-9479] Use 
Objects.equals(String,String) to avoid possible NullPointerException
URL: https://github.com/apache/hadoop/pull/738
 
 
   Hello,
   I found that the String "queueName" may have potential risk of 
   NullPointerException since they are 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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to