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.


---

Reply via email to