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

Tidy Up Text and ByteWritables Classes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: common
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      1. Remove superfluous code
      2. Remove superfluous comments
      3. Checkstyle fixes
      4. Remove methods that simply call super.method()
      5. Use Java 8 facilities to streamline code where applicable
      6. Simplify and unify some of the constructs between the two classes

       

      The one meaningful change is that I am suggesting that the expanding of the arrays be 1.5x instead of 2x per expansion.  I pulled this idea from open JDK.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                belugabehr David Mollitor
                Reporter:
                belugabehr David Mollitor
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: