Randgalt commented on a change in pull request #305: CURATOR-511: Add toString
to ZKPaths PathAndNode
URL: https://github.com/apache/curator/pull/305#discussion_r268012253
##########
File path: curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java
##########
@@ -154,6 +154,12 @@ public String getNode()
{
return node;
}
+
+ @Override
+ public String toString()
+ {
+ return "PathAndNode [path=" + path + ", node=" + node + "]";
Review comment:
Why not return `ZKPaths.makePath(path, node)`?
----------------------------------------------------------------
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