sumitagrawl opened a new pull request, #5575:
URL: https://github.com/apache/ozone/pull/5575

   ## What changes were proposed in this pull request?
   There is a possibility that first call of method returns non-null value but 
second time call can return null value, so the way check is done is wrong.
   So first get value in local variable and use same for check null and use 
further.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9660
   
   ## How was this patch tested?
   
   * impact verified with existing cases
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to