Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-332 Pass checkstyle
  3. REEF-359

Fix violations / reconfigure check for UnusedImports check

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.12
    • All
    • None

    Description

      Our code has both imports which are completely unused and imports which are referenced only in JavaDoc (@link and @throws tags). We can

      • either remove the first type of imports and change configuration to count reference from JavaDoc as used import,
      • or (as recommended in http://checkstyle.sourceforge.net/config_imports.html) remove both types of imports and change our JavaDoc to use full type names of referenced classes.

      If we intend to keep as close to existing checkstyle configuration as possible, we should choose second option.

      Attachments

        Activity

          People

            MariiaMykhailova Mariia Mykhailova
            MariiaMykhailova Mariia Mykhailova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: