[jira] Created: (LANG-387) StringUtils.reverseSplit() + Unit Test

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (LANG-387) StringUtils.reverseSplit() + Unit Test

Gilles Sadowski (Jira)
StringUtils.reverseSplit() + Unit Test
--------------------------------------

                 Key: LANG-387
                 URL: https://issues.apache.org/jira/browse/LANG-387
             Project: Commons Lang
          Issue Type: New Feature
    Affects Versions: Known Issue
            Reporter: Hasan Diwan
            Priority: Minor


Per the status file, reverseSplit and a unit test are attached.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LANG-387) StringUtils.reverseSplit() + Unit Test

Gilles Sadowski (Jira)

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

Hasan Diwan updated LANG-387:
-----------------------------

    Attachment: lang.pat

> StringUtils.reverseSplit() + Unit Test
> --------------------------------------
>
>                 Key: LANG-387
>                 URL: https://issues.apache.org/jira/browse/LANG-387
>             Project: Commons Lang
>          Issue Type: New Feature
>    Affects Versions: Known Issue
>            Reporter: Hasan Diwan
>            Priority: Minor
>         Attachments: lang.pat
>
>
> Per the status file, reverseSplit and a unit test are attached.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LANG-387) StringUtils.reverseSplit() + Unit Test

Gilles Sadowski (Jira)
In reply to this post by Gilles Sadowski (Jira)

    [ https://issues.apache.org/jira/browse/LANG-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554475 ]

Paul Benedict commented on LANG-387:
------------------------------------

How is this feature better than calling split after reversing?

> StringUtils.reverseSplit() + Unit Test
> --------------------------------------
>
>                 Key: LANG-387
>                 URL: https://issues.apache.org/jira/browse/LANG-387
>             Project: Commons Lang
>          Issue Type: New Feature
>    Affects Versions: Known Issue
>            Reporter: Hasan Diwan
>            Priority: Minor
>         Attachments: lang.pat
>
>
> Per the status file, reverseSplit and a unit test are attached.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LANG-387) StringUtils.reverseSplit() + Unit Test

Gilles Sadowski (Jira)
In reply to this post by Gilles Sadowski (Jira)

    [ https://issues.apache.org/jira/browse/LANG-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554522 ]

Henri Yandell commented on LANG-387:
------------------------------------

From the STATUS.html:

"StringUtils.reverseSplit(String, String delim, int count). Should basically be a 'reverseArray(reverseDelimitedString(split(txt, delim, count)))'."

The patch is reverseSplit(String).

Though I think the reverseDelimitedString shouldn't be there. If just reverseArray around split - I don't think there's much value in this.

Side note - we need to dump the STATUS action items into JIRA and punt the ones we don't want.

> StringUtils.reverseSplit() + Unit Test
> --------------------------------------
>
>                 Key: LANG-387
>                 URL: https://issues.apache.org/jira/browse/LANG-387
>             Project: Commons Lang
>          Issue Type: New Feature
>    Affects Versions: Known Issue
>            Reporter: Hasan Diwan
>            Priority: Minor
>         Attachments: lang.pat
>
>
> Per the status file, reverseSplit and a unit test are attached.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (LANG-387) StringUtils.reverseSplit() + Unit Test

Gilles Sadowski (Jira)
In reply to this post by Gilles Sadowski (Jira)

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

Henri Yandell closed LANG-387.
------------------------------

    Resolution: Won't Fix

Despite having this on our TODO list from ages back, I don't think there's enough justification to add this.

> StringUtils.reverseSplit() + Unit Test
> --------------------------------------
>
>                 Key: LANG-387
>                 URL: https://issues.apache.org/jira/browse/LANG-387
>             Project: Commons Lang
>          Issue Type: New Feature
>    Affects Versions: Known Issue
>            Reporter: Hasan Diwan
>            Priority: Minor
>         Attachments: lang.pat
>
>
> Per the status file, reverseSplit and a unit test are attached.

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