You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2010/03/22 20:10:33 UTC

[jira] Updated: (HADOOP-6471) StringBuffer -> StringBuilder - conversion of references as necessary

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

Tom White updated HADOOP-6471:
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.21.0)
                   0.22.0
         Assignee: Kay Kay
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

+1 I've just committed this. Thanks Kay Kay!

> StringBuffer -> StringBuilder - conversion of references as necessary
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-6471
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6471
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Kay Kay
>            Assignee: Kay Kay
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6471.patch, HADOOP-6471.patch, HADOOP-6471.patch, HADOOP-6471.patch
>
>
> Across hadoop-common codebase,  a good number of StringBuffer-s being used are actually candidates for StringBuilders , since the reference does not escape the scope of the method and no concurrency is needed. 

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