Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-382

Remove superfluous exception declarations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.8.1
    • 3.9.0
    • None

    Description

      Several test methods declare that they throw exceptions they never in fact throw.

      Remove these declarations.

      Offenders are CompilerManagerStub's getCompiler() method and several methods in CompilerStub which simply return fixed values.

      Attachments

        Activity

          People

            olamy Olivier Lamy
            rhowe Russell Howe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: