You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2010/06/09 23:22:14 UTC

[jira] Resolved: (CONNECTORS-43) Useless call to String.trim() in org.apache.lcf.ui.util.MultilineParser

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

Karl Wright resolved CONNECTORS-43.
-----------------------------------

    Resolution: Fixed

I fixed this by removing the useless line.  Backwards compatibility is important here because this code is used to parse lists of seed URLs, for web and rss connectors, and we don't want something magically to be done differently at this point.

In the longer run, it might make sense to do a trim, but probably within each connector instead.


> Useless call to String.trim() in org.apache.lcf.ui.util.MultilineParser
> -----------------------------------------------------------------------
>
>                 Key: CONNECTORS-43
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-43
>             Project: Lucene Connector Framework
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Karl Wright
>            Priority: Trivial
>
> {code}
> nextString.trim();
> {code}
> should likely be:
> {code}
> nextString = nextString.trim();
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.