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 "Dave Brosius (Created) (JIRA)" <ji...@apache.org> on 2011/11/06 05:52:51 UTC

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

[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
            Priority: Trivial
         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

        

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

Posted by "Knut Anders Hatlen (Resolved) (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Knut Anders Hatlen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-5491:
--------------------------------------

    Component/s: Miscellaneous
    
> [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
>          Components: Miscellaneous
>            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

        

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

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

Dave Brosius updated DERBY-5491:
--------------------------------

    Attachment: no_new_string.diff
    
> [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
>            Priority: Trivial
>         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