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

Summary: Unnecessary import generated when adding vetoable property
Product: java Reporter: Jiri Prox <jiriprox>
Component: BeansAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

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