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

Do a Project Wide Sweep for Redundant Throws Declarations

    XMLWordPrintableJSON

    Details

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

      Description

      Unfortunately, redundant throws declarations are not caught by Checkstyle and there are quite a few in the current Java codebase.
      In one case `ShuffleExternalSorter#closeAndGetSpills` this hides some dead code too.

      I think it's worthwhile to do a sweep for these and remove them.

        Attachments

          Activity

            People

            • Assignee:
              original-brownbear Armin Braun
              Reporter:
              original-brownbear Armin Braun
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: