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.
NB 6.0 200602191900 JDK 1.5.0_06 Ex. refactoring 0.35.0.2.3 1) Unnecessary import statement added when copying class to the same package: - have a class A in package p - copy class A to class B in the package p -> useless import p; added to newly created class B 2) Import is doubled if thre is one in the copied class - have a class A in package p containig import p; - copy class A to class B in another package - statement import p; is added -> the same import is twice in new class
This is a WONTFIX -- I cannot reproduce the first one and the second is really a cornercase.