hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2996) StreamUtils abuses StringBuffers
Date Thu, 13 Mar 2008 10:01:46 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Devaraj Das updated HADOOP-2996:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Dave!

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


Mime
View raw message