[
https://issues.apache.org/jira/browse/CASSANDRA-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120076#comment-13120076
]
Jordan Pittier commented on CASSANDRA-3263:
-------------------------------------------
trim() removes only leading and trailing whitespaces.
I would go for host.replace(" ", "") instead.
> Whitespace in SimpleSeedProvider string makes seed ignored
> ----------------------------------------------------------
>
> Key: CASSANDRA-3263
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3263
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.8.0
> Reporter: Marcus Eriksson
> Priority: Minor
> Fix For: 1.0.0
>
> Attachments: 3263.txt
>
>
> If a seeds given to SimpleSeedProvider contains whitespace, the seed will be
> ignored
> for example "1.2.3.4, 5.6.7.8" will only make 5.6.7.8 a seed.
> patch simply trim()s the host.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira