You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/07 10:03:51 UTC

[jira] [Resolved] (DERBY-5491) [patch] new String("") or new String() is pointless, and just allocates memory needlessly - removed

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

Knut Anders Hatlen resolved DERBY-5491.
---------------------------------------

          Resolution: Fixed
       Fix Version/s: 10.9.0.0
            Assignee: Dave Brosius
    Issue & fix info:   (was: Patch Available)

Thanks, Dave. The patch looks good to me, and all the regression tests passed.

Committed revision 1198653.
                
> [patch] new String("") or new String() is pointless, and just allocates memory needlessly - removed
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5491
>                 URL: https://issues.apache.org/jira/browse/DERBY-5491
>             Project: Derby
>          Issue Type: Improvement
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.9.0.0
>
>         Attachments: no_new_string.diff
>
>
> new String("::") is pointless, use "::"
> same with new String() vs ""

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