hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1356) ValueHistogram.addNextValue(Object) ignores return value of String.substring(int, int)
Date Thu, 17 May 2007 19:52:16 GMT

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

Doug Cutting updated HADOOP-1356:
---------------------------------

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

I just committed this.  Thanks, Runping!

> ValueHistogram.addNextValue(Object) ignores return value of String.substring(int, int)
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-1356
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1356
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>         Assigned To: Runping Qi
>            Priority: Blocker
>             Fix For: 0.13.0
>
>         Attachments: patch-1356.txt
>
>
> ValueHistogram.java line 54
> The String.substring method doesn't update the object it operates on.  Instead, it returns
a new String object.  This return value is ignored, which must be a bug. 

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