TisonKun commented on a change in pull request #1049: ZOOKEEPER-3475 Enable Checkstyle configuration on zookeeper-server URL: https://github.com/apache/zookeeper/pull/1049#discussion_r314364487
########## File path: zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java ########## @@ -232,17 +232,7 @@ public String toString() { SocketAddress local = sendThread.getClientCnxnSocket().getLocalSocketAddress(); SocketAddress remote = sendThread.getClientCnxnSocket().getRemoteSocketAddress(); - sb - .append("sessionid:0x").append(Long.toHexString(getSessionId())) - .append(" local:").append(local) - .append(" remoteserver:").append(remote) - .append(" lastZxid:").append(lastZxid) - .append(" xid:").append(xid) - .append(" sent:").append(sendThread.getClientCnxnSocket().getSentCount()) - .append(" recv:").append(sendThread.getClientCnxnSocket().getRecvCount()) - .append(" queuedpkts:").append(outgoingQueue.size()) - .append(" pendingresp:").append(pendingQueue.size()) - .append(" queuedevents:").append(eventThread.waitingEvents.size()); + sb.append("sessionid:0x").append(Long.toHexString(getSessionId())).append(" local:").append(local).append(" remoteserver:").append(remote).append(" lastZxid:").append(lastZxid).append(" xid:").append(xid).append(" sent:").append(sendThread.getClientCnxnSocket().getSentCount()).append(" recv:").append(sendThread.getClientCnxnSocket().getRecvCount()).append(" queuedpkts:").append(outgoingQueue.size()).append(" pendingresp:").append(pendingQueue.size()).append(" queuedevents:").append(eventThread.waitingEvents.size()); Review comment: Reverting... ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services