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

StringBuffer -> StringBuilder - conversion of references as necessary

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: