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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment