Index: src/main/java/org/apache/hadoop/hbase/thrift/ThriftMetrics.java =================================================================== --- src/main/java/org/apache/hadoop/hbase/thrift/ThriftMetrics.java (revision 1526829) +++ src/main/java/org/apache/hadoop/hbase/thrift/ThriftMetrics.java (working copy) @@ -117,9 +117,10 @@ private void createMetricsForMethods(Class iface) { LOG.debug("Creating metrics for interface " + iface.toString()); for (Method m : iface.getDeclaredMethods()) { - if (getMethodTimeMetrics(m.getName()) == null) + if (getMethodTimeMetrics(m.getName()) == null) { LOG.debug("Creating metrics for method:" + m.getName()); createMethodTimeMetrics(m.getName()); + } } }