Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-335

Fix All Imports adds unnecessary entries (fields from top-level class)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.0
    • Environment:

      Description

      1. Open the attached file.
      2. Invoke Fix All Imports
      3. Notice that the IDE attempts to import MARKET and LIMIT (defined by the current file).
      4. Invoke code-format. Notice that the IDE removed unused imports for MARKET and LIMIT.

        Attachments

        1. PriceType.java
          3 kB
          Gili

          Issue Links

            Activity

              People

              • Assignee:
                jlahoda Jan Lahoda
                Reporter:
                cowwoc Gili
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m