You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (Created) (JIRA)" <ji...@apache.org> on 2012/02/28 13:33:48 UTC

[jira] [Created] (WICKET-4434) Replace all String.split(char) with Wicket's Strings.split(String, char) for better performance

Replace all String.split(char) with Wicket's Strings.split(String, char) for better performance
-----------------------------------------------------------------------------------------------

                 Key: WICKET-4434
                 URL: https://issues.apache.org/jira/browse/WICKET-4434
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.5.4
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov
             Fix For: 6.0.0


java.lang.String#split() method uses not-compiled java.lang.regex.Pattern objects to do its job. For splitting on a single character it is much better to use wicket-util's Strings#split(String, char)

--
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

        

[jira] [Updated] (WICKET-4434) Replace all String.split(char) with Wicket's Strings.split(String, char) for better performance

Posted by "Martin Grigorov (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-4434:
------------------------------------

    Priority: Trivial  (was: Major)
    
> Replace all String.split(char) with Wicket's Strings.split(String, char) for better performance
> -----------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4434
>                 URL: https://issues.apache.org/jira/browse/WICKET-4434
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.4
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Trivial
>             Fix For: 6.0.0
>
>
> java.lang.String#split() method uses not-compiled java.lang.regex.Pattern objects to do its job. For splitting on a single character it is much better to use wicket-util's Strings#split(String, char)

--
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

        

[jira] [Resolved] (WICKET-4434) Replace all String.split(char) with Wicket's Strings.split(String, char) for better performance

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4434.
-------------------------------------

    Resolution: Fixed
    
> Replace all String.split(char) with Wicket's Strings.split(String, char) for better performance
> -----------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4434
>                 URL: https://issues.apache.org/jira/browse/WICKET-4434
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.4
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 6.0.0
>
>
> java.lang.String#split() method uses not-compiled java.lang.regex.Pattern objects to do its job. For splitting on a single character it is much better to use wicket-util's Strings#split(String, char)

--
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