test is debug enabled before LOG.debug(), so as for LOG.info()
--------------------------------------------------------------

                 Key: GIRAPH-59
                 URL: https://issues.apache.org/jira/browse/GIRAPH-59
             Project: Giraph
          Issue Type: Bug
            Reporter: Zhiwei Gu
            Assignee: Zhiwei Gu
            Priority: Minor


For example: src/main/java/org/apache/giraph/comm/BasicRPCCommunications.java
in putMsgList(), 
LOG.debug("putMsgList: Adding msgList " + msgList +
                  " on vertex " + vertex);

should be:

        if (LOG.isDebugEnabled()) {
               LOG.debug("putMsgList: Adding msgList " + msgList +
                               " on vertex " + vertex);
        }


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to