HorizonNet commented on a change in pull request #1034: HBASE-23622 Reduced the number of Checkstyle violations in hbase-common URL: https://github.com/apache/hbase/pull/1034#discussion_r366443618
########## File path: hbase-common/src/main/java/org/apache/hadoop/hbase/util/CommonFSUtils.java ########## @@ -157,7 +156,7 @@ public static long getDefaultBlockSize(final FileSystem fs, final Path path) thr Method m = null; Class<? extends FileSystem> cls = fs.getClass(); try { - m = cls.getMethod("getDefaultBlockSize", new Class<?>[] { Path.class }); + m = cls.getMethod("getDefaultBlockSize", Path.class); Review comment: Removed the reflection part. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services