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 151998

Summary: Keep empty lines when surrounding with try-catch
Product: java Reporter: Jiri Prox <jiriprox>
Component: SourceAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: blocker CC: msauer
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jiri Prox 2008-10-31 15:30:46 UTC
Product Version: NetBeans IDE Dev (Build 20081031070034)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Linux version 2.6.22-15-generic running on i386; UTF-8; en_US (nb)

Keep empty lines when surrounding block of code with try-catch
Comment 1 andreh2 2009-10-18 08:25:15 UTC
I'd vote to 'fix' this one as well (I see it as well on the same OS and netbeans versions)... 
I'm not sure why netbeans needs to remove all empty lines when surrounding a block with try...catch
and thus render the surrounded code quite less readable.
Comment 2 Max Sauer 2009-10-21 13:46:32 UTC
This is rather an enhancement, since this is not supported in current java source model.