chia7712 commented on code in PR #23177:
URL: https://github.com/apache/kafka/pull/23177#discussion_r3872234783


##########
streams/src/test/java/org/apache/kafka/streams/query/PositionTest.java:
##########
@@ -213,7 +211,7 @@ public void shouldNotMatchOnUnEqual() {
     @Test
     public void shouldNotMatchNull() {
         final Position position = Position.emptyPosition();
-        assertNotEquals(position, null);
+        assertNotNull(position);

Review Comment:
   It was used to verify the behavior of `position.equals(null)`



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

Reply via email to