[
https://issues.apache.org/jira/browse/HBASE-9725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789069#comment-13789069
]
Liang Xie commented on HBASE-9725:
----------------------------------
{code}
private void createMetricsForMethods(Class<?> iface) {
LOG.debug("Creating metrics for interface " + iface.toString());
for (Method m : iface.getDeclaredMethods()) {
if (getMethodTimeMetrics(m.getName()) == null)
LOG.debug("Creating metrics for method:" + m.getName());
createMethodTimeMetrics(m.getName());
}
}
{code}
should be
{code}
private void createMetricsForMethods(Class<?> iface) {
LOG.debug("Creating metrics for interface " + iface.toString());
for (Method m : iface.getDeclaredMethods()) {
if (getMethodTimeMetrics(m.getName()) == null) {
LOG.debug("Creating metrics for method:" + m.getName());
createMethodTimeMetrics(m.getName());
}
}
}
{code}
> lost brackets for createMethodTimeMetrics?
> ------------------------------------------
>
> Key: HBASE-9725
> URL: https://issues.apache.org/jira/browse/HBASE-9725
> Project: HBase
> Issue Type: Bug
> Components: Thrift
> Affects Versions: 0.94.12
> Reporter: Liang Xie
> Assignee: Liang Xie
>
> to me, seems lost brackets for createMethodTimeMetrics
--
This message was sent by Atlassian JIRA
(v6.1#6144)