This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 134948 - [Move Inner To Outer Level] does not add all necessary imports
Summary: [Move Inner To Outer Level] does not add all necessary imports
Status: VERIFIED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks: 152192
  Show dependency tree
 
Reported: 2008-05-13 12:19 UTC by Tim Lebedkov
Modified: 2009-04-18 19:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
User Tasks modules (1.33 MB, application/x-compressed)
2008-05-20 22:18 UTC, Tim Lebedkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2008-05-13 12:19:27 UTC
As example in the following constructor Action, KeyStroke and KeyEvent imports were not added

    public DeleteAction() {
        super("Delete");
        putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0));
    }
Comment 1 Tim Lebedkov 2008-05-20 22:18:54 UTC
Created attachment 61648 [details]
User Tasks modules
Comment 2 Max Sauer 2009-02-25 14:24:49 UTC
Work for me OK in current trunk, the imports were properly added to newly generated class (InnerToOuterTransformer.visitIdentifier is responsible). In case 
this issue is still reproducible, please reopen and provide detail steps to reproduce.
Comment 3 Tim Lebedkov 2009-04-18 19:40:57 UTC
ok