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 235212

Summary: Code improvements in generated @WebFilter
Product: javaee Reporter: arungupta <arungupta>
Component: ServletAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description arungupta 2013-08-29 08:11:10 UTC
Generated WebFilter code can take several improvements:

- Missing @Override tag
- Use try-with-resources
- Use StringBuilder instead of StringBuffer
- Use specific exceptions instead of Throwable and Exception
Comment 1 Martin Balin 2016-07-07 08:53:05 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