hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1356) ValueHistogram.addNextValue(Object) ignores return value of String.substring(int, int)
Date Fri, 18 May 2007 11:27:17 GMT

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

Hadoop QA commented on HADOOP-1356:
-----------------------------------

Integrated in Hadoop-Nightly #92 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/92/)

> 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