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

Tidy Up Text and ByteWritables Classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • common
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: