Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22268

Fix java style errors

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      ./dev/lint-java fails on master right now with these exceptions:

      [ERROR] src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeInMemorySorter.java:[176] (sizes) LineLength: Line is longer than 100 characters (found 112).
      [ERROR] src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeInMemorySorter.java:[177] (sizes) LineLength: Line is longer than 100 characters (found 106).
      [ERROR] src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeInMemorySorter.java:[178] (sizes) LineLength: Line is longer than 100 characters (found 136).
      [ERROR] src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:[520] (sizes) LineLength: Line is longer than 100 characters (found 104).
      [ERROR] src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:[524] (sizes) LineLength: Line is longer than 100 characters (found 123).
      [ERROR] src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:[533] (sizes) LineLength: Line is longer than 100 characters (found 120).
      [ERROR] src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java:[535] (sizes) LineLength: Line is longer than 100 characters (found 114).
      [ERROR] src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeInMemorySorterSuite.java:[182] (sizes) LineLength: Line is longer than 100 characters (found 116).
      [ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/SupportsPushDownFilters.java:[21,8] (imports) UnusedImports: Unused import - org.apache.spark.sql.catalyst.expressions.Expression.
      

        Attachments

          Activity

            People

            • Assignee:
              aash Andrew Ash
              Reporter:
              aash Andrew Ash
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: