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