saintstack commented on a change in pull request #1030: HBASE-23621 Reduced the 
number of Checkstyle violations in tests of hbase-common
URL: https://github.com/apache/hbase/pull/1030#discussion_r370336247
 
 

 ##########
 File path: hbase-common/src/test/java/org/apache/hadoop/hbase/TestCellUtil.java
 ##########
 @@ -221,34 +220,35 @@ public int getTagsLength() {
       // TODO Auto-generated method stub
       return 0;
     }
-  };
+  }
 
   /**
    * Was overflowing if 100k or so lists of cellscanners to return.
-   * @throws IOException
    */
   @Test
   public void testCreateCellScannerOverflow() throws IOException {
-    consume(doCreateCellScanner(1, 1), 1 * 1);
-    consume(doCreateCellScanner(3, 0), 3 * 0);
+    consume(doCreateCellScanner(1, 1), 1);
+    consume(doCreateCellScanner(3, 0), 0);
 
 Review comment:
   Smile

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