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

StringBuffer -> StringBuilder - conversion of references as necessary

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Across hadoop-common codebase, a good number of StringBuffer-s being used are actually candidates for StringBuilders , since the reference does not escape the scope of the method and no concurrency is needed.

        Attachments

        1. HADOOP-6471.patch
          30 kB
          Karthik K
        2. HADOOP-6471.patch
          31 kB
          Karthik K
        3. HADOOP-6471.patch
          28 kB
          Karthik K
        4. HADOOP-6471.patch
          28 kB
          Karthik K

          Activity

            People

            • Assignee:
              kaykay.unique Karthik K
              Reporter:
              kaykay.unique Karthik K
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: