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.
Created attachment 155404 [details] This is the generated copy of ClassC Test Case --> http://services.netbeans.org/synergy/client/app/#/case/5117/suite/2021/v/1 --Modified Test Case-- Copy ClassC instead of ClassA: package usages; public class ClassC { } --Actual Result-- package move; import usages.*; public class ClassCCopy { } The import is not used and should not be automatically added.
The same happens to ClassB in the following test case --> http://services.netbeans.org/synergy/client/app/#/case/5124/suite/2021/v/1. There is unwanted import usages.*;
*** Bug 254684 has been marked as a duplicate of this bug. ***
reproducible, but IMHO not so serious