leventov commented on a change in pull request #8060: 6855 add Checkstyle for 
constant name static final 
URL: https://github.com/apache/incubator-druid/pull/8060#discussion_r302631208
 
 

 ##########
 File path: 
extensions-core/kinesis-indexing-service/src/test/java/org/apache/druid/indexing/kinesis/supervisor/KinesisSupervisorTest.java
 ##########
 @@ -2415,7 +2352,7 @@ public void testResetDataSourceMetadata() throws 
Exception
     catch (NullPointerException npe) {
       // Expected as there will be an attempt to EasyMock.reset 
partitionGroups sequences to NOT_SET
       // however there would be no entries in the map as we have not put nay 
data in kafka
-      Assert.assertNull(npe.getCause());
+      Assert.assertTrue(npe.getCause() == null);
 
 Review comment:
   Unnecessary change

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


With regards,
Apache Git Services

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

Reply via email to