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 78032 - Clean-up refactoring of unused imports does not take into account static imports.
Summary: Clean-up refactoring of unused imports does not take into account static impo...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks: 152192
  Show dependency tree
 
Reported: 2006-06-16 02:12 UTC by atehrani
Modified: 2009-09-08 13:42 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 atehrani 2006-06-16 02:12:34 UTC
When cleaning up imports the "fix imports" refactoring does the correct 
behavior. However, the clean-up unused imports of the experimental refactoring 
removes static imports, even if they are used. Thereby breaking code.
Comment 1 Max Sauer 2009-09-08 13:42:59 UTC
This works OK in
---
Product Version: NetBeans IDE Dev (Build 200909040632)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02-83
System: Mac OS X version 10.5.7 running on x86_64; MacRoman; en_US (nb)