luocooong commented on pull request #2191:
URL: https://github.com/apache/drill/pull/2191#issuecomment-808863750


   > The most common issues that I suppressed involved null values and 
potential NPE and override hashcode and equals. The thing with the null values 
is that, most times in the codebase, if the value was null it would already be 
dealt with (via null guard or logger); however, it still marks it as an alert. 
With hashcode and equals, there were sometimes a need for only hashcode and not 
equals, and vice versa. If one or the other were not present in the file, it 
would throw an alert. Also, in some cases, the equals function was there, but 
it was not named equals (it was named impEquals), which LGTM prob did not pick 
up, and threw the alert.
   


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


Reply via email to