You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Nitay Joffe (JIRA)" <ji...@apache.org> on 2009/02/08 07:38:59 UTC

[jira] Commented: (ZOOKEEPER-277) Define PATH_SEPARATOR

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671565#action_12671565 ] 

Nitay Joffe commented on ZOOKEEPER-277:
---------------------------------------

Should also add some constant, say ZNODE_ANY_VERSION, for accepting any version, that is -1.

> Define PATH_SEPARATOR
> ---------------------
>
>                 Key: ZOOKEEPER-277
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-277
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: c client, documentation, java client, server, tests
>            Reporter: Nitay Joffe
>            Priority: Trivial
>
> We should define a constant for PATH_SEPARATOR = "/" and use that throughout the code rather than the hardcoded "/". Users can be told to use this constant to be safe in case of future changes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.