hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liang Xie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9725) lost brackets for createMethodTimeMetrics?
Date Tue, 08 Oct 2013 09:44:43 GMT

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

Mime
View raw message