curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cammckenzie <...@git.apache.org>
Subject [GitHub] curator pull request: CURATOR-166: Allow ZKPaths to build paths wi...
Date Mon, 17 Nov 2014 21:13:47 GMT
Github user cammckenzie commented on a diff in the pull request:

    https://github.com/apache/curator/pull/54#discussion_r20465504
  
    --- Diff: curator-client/src/main/java/org/apache/curator/utils/ZKPaths.java ---
    @@ -276,26 +282,26 @@ public static void deleteChildren(ZooKeeper zookeeper, String path,
boolean dele
             Collections.sort(sortedList);
             return sortedList;
         }
    -
    +    
         /**
    -     * Given a parent path and a child node, create a combined full path
    +     * Given a parent path and a list of children nodes, create a combined full path
          *
          * @param parent the parent
    -     * @param child  the child
    +     * @param children  the children
          * @return full path
          */
    -    public static String makePath(String parent, String child)
    +    public static String makePath(String parent, String... children)
    --- End diff --
    
    +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message