You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2008/03/11 17:40:46 UTC
[jira] Updated: (HADOOP-2996) StreamUtils abuses StringBuffers
[ https://issues.apache.org/jira/browse/HADOOP-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-2996:
----------------------------------
Assignee: Dave Brosius
Summary: StreamUtils abuses StringBuffers (was: [PATCH] StreamUtils abuses StringBuffers)
> StreamUtils abuses StringBuffers
> --------------------------------
>
> Key: HADOOP-2996
> URL: https://issues.apache.org/jira/browse/HADOOP-2996
> Project: Hadoop Core
> Issue Type: Improvement
> Components: contrib/streaming
> Affects Versions: 0.16.0
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Trivial
> Fix For: 0.17.0
>
> Attachments: dont_abuse_stringbuffer.patch
>
>
> Code does
> sb.append("foo" + n)
> which corresponds to
> sb.append(new StringBuffer("foo").append(n).toString())
> patch fixes this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.