hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kay Kay (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1320) StringBuffer -> StringBuilder occurence
Date Wed, 23 Dec 2009 00:01:29 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793843#action_12793843
] 

Kay Kay commented on MAPREDUCE-1320:
------------------------------------

On first pass - the test failures does not seem to be related to the patch but due to environmental
issues , may be. 

Need to revisit this after we get a complete green build once on the trunk. 

> 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.20.1
>            Reporter: Kay Kay
>             Fix For: 0.20.2
>
>         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.


Mime
View raw message