mayankshriv opened a new pull request #5785:
URL: https://github.com/apache/incubator-pinot/pull/5785


   With lazy initialization, the ForwardIndexReaderContext can be null. The 
close()
   method is not called today, but if/when it will be, this could lead to NPE.
   
   - Adding NULL check to fix this potential problem.
   - Also, assigned getContext() to local variable for readability.


----------------------------------------------------------------
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]



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

Reply via email to