hy00nc commented on a change in pull request #258: [NEMO-429] SWPP TEAM 21 code 
smell fix
URL: https://github.com/apache/incubator-nemo/pull/258#discussion_r353007688
 
 

 ##########
 File path: 
runtime/executor/src/test/java/org/apache/nemo/runtime/executor/task/TaskExecutorTest.java
 ##########
 @@ -206,7 +206,7 @@ public void testInvalidInputData() throws Exception {
       // This should not be reached.
       fail();
     } catch (NullPointerException e) {
-      assertEquals(true, true);
+      assert true;
 
 Review comment:
   How about changing this to `assertTrue(true);`  since this is a JUnit test?

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

Reply via email to