zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] Geker edited a comment on issue #968: ZKUtil deleteRecursive check LOG Level before calculate the parameter
Date Thu, 06 Jun 2019 04:50:51 GMT
Geker edited a comment on issue #968: ZKUtil  deleteRecursive check LOG Level before calculate
the parameter
URL: https://github.com/apache/zookeeper/pull/968#issuecomment-499345965
 
 
   > You can use `LOG.debug("Deleting {}",tree)` where we can save both a debug condition
check and avoid invoking of tree.toString if debug is not enabled. Just don't call `tree.toString`
explicitly.
   
   You're right, I changed the code.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message