hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2996) [PATCH] StreamUtils abuses StringBuffers
Date Tue, 11 Mar 2008 06:22:46 GMT

     [ 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.


Mime
View raw message