☂ Remove unused imports

XMLWordPrintable

    • Type: Task
    • Resolution: Delivered
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: javafx
    • Fix Understood

      Eclipse Version: 2022-06 (4.24.0) compiler seems to report more programming problems than javac.

      As of 2024/03/21, the master branch generates 744 "import is never used" warnings.

      See the discussion in JDK-8289379

      PROBLEM:
      The code in graphics/build/gensrc/jsl-decora/ is generated and cannot be easily fixed - the template for imports seems to be in JSWGlue.stg and by the looks of it this file is being used for all the generated code.
      This means this warning **must be suppressed** in IDEs until the generator script is changed not to emit unused imports.

      Q: should we enable this warning in the gradle build once all imports are fixed?

            Assignee:
            Andy Goryachev
            Reporter:
            Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: