javac option that reports unneccessary or unused import statements

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P5
    • None
    • Affects Version/s: 1.3.0
    • Component/s: tools
    • generic
    • generic



      Name: skT45625 Date: 10/13/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      What do you think about a compiler option that would indicated unused import
        statements. Our dev org has a standard of always explicitly referencing classes
      in import statements - no * allowed. It as a class evolves it would be nice if
      the compiler would help us keep the imports accurate by reporting when an
      import was not used.
      (Review ID: 110841)
      ======================================================================

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: