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 - Unused imports are generated if class is copied into new package
Summary: Unused imports are generated if class is copied into new package
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks: 152192
  Show dependency tree
 
Reported: 2008-06-18 14:55 UTC by Jana Maleckova
Modified: 2009-11-02 11:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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