[
https://issues.apache.org/jira/browse/ZOOKEEPER-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13560894#comment-13560894
]
Alexander Shraer commented on ZOOKEEPER-1619:
---------------------------------------------
Looks good, Edward. One thing - why return an array and not List<String> ? You
convert List<String> to array of strings and I'll have to convert it back to
List<String> :)
> Allow spaces in URL
> -------------------
>
> Key: ZOOKEEPER-1619
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1619
> Project: ZooKeeper
> Issue Type: Improvement
> Components: java client
> Affects Versions: 3.5.0, 3.4.5
> Reporter: Todd Nine
> Assignee: Edward Ribeiro
> Priority: Minor
> Attachments: ZOOKEEPER-1619.patch
>
>
> Currently, spaces are not allowed in the url. This format will work.
> {code}
> 10.10.1.1:2181,10.10.1.2:2181/usergrid
> {code}
> This format will not (notice the spaces around the comma)
> {code}
> 10.10.1.1:2181 , 10.10.1.2:2181/usergrid
> {code}
> Please add a trim to both the port and the hostname parsing.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira