zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfenes <...@git.apache.org>
Subject [GitHub] zookeeper issue #371: ZOOKEEPER-2814: Ignore space after comma in connection...
Date Thu, 12 Oct 2017 18:13:24 GMT
Github user mfenes commented on the issue:

    https://github.com/apache/zookeeper/pull/371
  
    Regex implementation would be shorter to ignore the spaces and empty strings as
    ```
    connectString.replaceAll("\\s", "").replaceAll(",+", ",").split(",") 
    ```
    does the same thing as the new StringUtils.split(String value, String separator) implementation
in this PR.


---

Mime
View raw message