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 206282 - New import organizer does not like static imports
Summary: New import organizer does not like static imports
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 16:22 UTC by veronika
Modified: 2016-07-07 07:16 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 veronika 2011-12-12 16:22:04 UTC
'Organize Import' operation on class that has also static imports cause following problem: 'static import only from classes and interfaces'. Because full name is added to static imports as well and should not. They should remain e.g. like this: import static com.mycompany.myproject.MyClass.Bundle.*.


Product Version = NetBeans IDE 7.1 RC2 (Build 201111302200)
Operating System = Linux version 3.0.0-13-generic running on amd64
Java; VM; Vendor = 1.6.0_23
Runtime = OpenJDK 64-Bit Server VM 20.0-b11
Comment 1 Martin Balin 2016-07-07 07:16:43 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss