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.
Imports from original package are not added when moving class to another package. Steps to reproduce: 1) have a classes origPkg.ClassA origPkg.ClassB tgt.Tgt 2) ClassB has method public void m(ClassA p) {} 3) move ClassB to Tgt -> import of ClassA is not added to Tgt Product Version: NetBeans IDE 7.4 (Build 201310012201) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b14 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\7.4 Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\7.4
changeset: ea218a5626e3 user: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date: Tue Mar 24 11:13:04 2015 +0100 summary: #236877 - [Move method] Imports are not added
Sorry, description talked about moving a class. Moving a method, as noted by the summary, does not import correctly.
changeset: d47ba22771c9 user: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date: Tue Mar 24 11:42:23 2015 +0100 summary: #236877 - [Move method] Imports are not added
Integrated into 'main-silver', will be available in build *201503250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ea218a5626e3 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #236877 - [Move method] Imports are not added