You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2009/12/22 01:24:18 UTC

[jira] Created: (MAPREDUCE-1320) StringBuffer -> StringBuilder occurence

StringBuffer -> StringBuilder occurence 
----------------------------------------

                 Key: MAPREDUCE-1320
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1320
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
            Reporter: Kay Kay
         Attachments: MAPREDUCE-1320.patch

A good number of toString() implementations use StringBuffer when the reference clearly does not go out of scope of the method and no concurrency is needed. Patch contains replacing those occurences from StringBuffer to StringBuilder. 

Created against map/reduce project trunk . 

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


[jira] Reopened: (MAPREDUCE-1320) StringBuffer -> StringBuilder occurence

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

Kay Kay reopened MAPREDUCE-1320:
--------------------------------


> StringBuffer -> StringBuilder occurence 
> ----------------------------------------
>
>                 Key: MAPREDUCE-1320
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1320
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Kay Kay
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1320.patch
>
>
> A good number of toString() implementations use StringBuffer when the reference clearly does not go out of scope of the method and no concurrency is needed. Patch contains replacing those occurences from StringBuffer to StringBuilder. 
> Created against map/reduce project trunk . 

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


[jira] Resolved: (MAPREDUCE-1320) StringBuffer -> StringBuilder occurence

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

Kay Kay resolved MAPREDUCE-1320.
--------------------------------

    Resolution: Later

> StringBuffer -> StringBuilder occurence 
> ----------------------------------------
>
>                 Key: MAPREDUCE-1320
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1320
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Kay Kay
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1320.patch
>
>
> A good number of toString() implementations use StringBuffer when the reference clearly does not go out of scope of the method and no concurrency is needed. Patch contains replacing those occurences from StringBuffer to StringBuilder. 
> Created against map/reduce project trunk . 

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