Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1356

ValueHistogram.addNextValue(Object) ignores return value of String.substring(int, int)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.12.3
    • 0.13.0
    • None
    • None

    Description

      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.

      Attachments

        1. patch-1356.txt
          1 kB
          Runping Qi

        Activity

          People

            runping Runping Qi
            nidaley Nigel Daley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: