HBASE-6067 Addendum adopts suggestions from Daryn

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1346057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2012-06-04 17:54:53 +00:00
parent b975bdc489
commit 705ad5969f
1 changed files with 1 additions and 2 deletions

View File

@ -450,9 +450,8 @@ public class HLog implements Syncable {
Method m = null;
Class<? extends FileSystem> cls = this.fs.getClass();
try {
m = cls.getDeclaredMethod("getDefaultBlockSize",
m = cls.getMethod("getDefaultBlockSize",
new Class<?>[] { Path.class });
m.setAccessible(true);
} catch (NoSuchMethodException e) {
LOG.info("FileSystem doesn't support getDefaultBlockSize");
} catch (SecurityException e) {