hanm 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_r314570228
##########
File path: zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java
##########
@@ -925,15 +926,11 @@ else if (serverPath.length() > chrootPath.length())
*/
try {
if (packet.requestHeader.getXid() != replyHdr.getXid()) {
- packet.replyHeader.setErr(
- KeeperException.Code.CONNECTIONLOSS.intValue());
- throw new IOException("Xid out of order. Got Xid "
- + replyHdr.getXid() + " with err " +
- + replyHdr.getErr() +
- " expected Xid "
- + packet.requestHeader.getXid()
- + " for a packet with details: "
- + packet );
+
packet.replyHeader.setErr(KeeperException.Code.CONNECTIONLOSS.intValue());
+ throw new IOException("Xid out of order. Got Xid " +
replyHdr.getXid()
+ + " with err " + +replyHdr.getErr()
Review comment:
Remove redundant `+`
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services