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 137575

Summary: Unused imports are generated if class is copied into new package
Product: java Reporter: Jana Maleckova <janie>
Component: RefactoringAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152192    

Description Jana Maleckova 2008-06-18 14:55:23 UTC
Product Version: NetBeans IDE Dev (Build 20080618061212)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252;

Description:
============
just copy some form class and past (Refactor Copy) it into different package. Then previous package is included there as
import but with unused status. The same happens with java class.
Comment 1 Max Sauer 2009-02-25 14:07:33 UTC
Not possible to fix effectively without adding dependency for java.editor.
Comment 2 Quality Engineering 2009-11-02 11:14:26 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX