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.
When I refactored a class Foo into a different package (say from com.a.Foo to com.b.Foo), the existing classes in com.b that used the Foo class have their import statements updated for the new package, rather than removed. this ok for compile, but if you use Checkstyle to prevent this situation you receive errors. Should this refactor remove the same package imports? The fix imports editor command does not create them in the first place, so it would seem so to me.
It's IMO no so serious -> P4
Fixed. --- http://hg.netbeans.org/jet-main/rev/157ec5d0f8fd
Integrated into 'main-golden', will be available in build *200903060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/157ec5d0f8fd User: Max Sauer <msauer@netbeans.org> Log: #126717: [Move] Refactoring not removing same package imports