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

Compiler warning in UnsafeInMemorySorter class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • Spark Core

    Description

      This is a small starter task to help new contributors practice the pull request and code review process.

      When building Spark with Java 8, there is a compiler warning in the class UnsafeInMemorySorter:

      [WARNING] .../core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeInMemorySorter.java:284: warning: [static] 
      static method should be qualified by type name, TaskMemoryManager, instead of
       by an expression
      

      Spark should compile without these kinds of warnings.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              freiss Frederick Reiss
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: