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

Summary: Clean-up refactoring of unused imports does not take into account static imports.
Product: java Reporter: atehrani <atehrani>
Component: RefactoringAssignee: issues@java <issues>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152192    

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)