moleske commented on a change in pull request #5473:
URL: https://github.com/apache/geode/pull/5473#discussion_r477579763
##########
File path:
geode-core/src/main/java/org/apache/geode/cache/query/internal/NullToken.java
##########
@@ -33,6 +33,7 @@
*/
public class NullToken implements DataSerializableFixedID, Comparable {
+ @SuppressWarnings("lgtm[java/useless-null-check]")
Review comment:
Ok, the comments in the code help help. I do wonder if we should make
the link you posted available somewhere (like the readme or contributing.)
And as long as we put `@SuppressWarnings` at the lowest possible level that
should prevent the accident masking of other suppressions so that looks good.
##########
File path:
geode-core/src/main/java/org/apache/geode/cache/query/internal/NullToken.java
##########
@@ -33,6 +33,7 @@
*/
public class NullToken implements DataSerializableFixedID, Comparable {
+ @SuppressWarnings("lgtm[java/useless-null-check]")
Review comment:
Ok, the comments in the code help. I do wonder if we should make the
link you posted available somewhere (like the readme or contributing.)
And as long as we put `@SuppressWarnings` at the lowest possible level that
should prevent the accident masking of other suppressions so that looks good.
----------------------------------------------------------------
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]