You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Zili Chen (Jira)" <ji...@apache.org> on 2023/09/24 04:06:00 UTC

[jira] [Resolved] (ZOOKEEPER-277) Define PATH_SEPARATOR

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zili Chen resolved ZOOKEEPER-277.
---------------------------------
      Assignee: Zili Chen
    Resolution: Won't Do

It's a long time from the ticket created and we use "/" everywhere.

Given that it's little possible to change the separate, I tend to close this ticket as won't do.

> 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
>            Assignee: Zili Chen
>            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 was sent by Atlassian Jira
(v8.20.10#820010)