db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DERBY-5491) [patch] new String("") or new String() is pointless, and just allocates memory needlessly - removed
Date Mon, 07 Nov 2011 09:03:51 GMT

     [ 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

        

Mime
View raw message