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 232444 - Unnecessary import generated when adding vetoable property
Summary: Unnecessary import generated when adding vetoable property
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-09 12:41 UTC by Jiri Prox
Modified: 2016-07-07 07:18 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 Jiri Prox 2013-07-09 12:41:44 UTC
When adding vetoable property an unused import "import java.beans.PropertyVetoException;" is generated. In the code, there is always used FQN for this exception, so the import is not needed.



Product Version: NetBeans IDE 7.4 Beta (Build 201307082243)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\7.4beta
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\7.4beta
Comment 1 Martin Balin 2016-07-07 07:18:18 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