[
https://issues.apache.org/jira/browse/HADOOP-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Brosius updated HADOOP-2996:
---------------------------------
Attachment: dont_abuse_stringbuffer.patch
> [PATCH] 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
> 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.