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 - Keep empty lines when surrounding with try-catch
Summary: Keep empty lines when surrounding with try-catch
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2008-10-31 15:30 UTC by Jiri Prox
Modified: 2013-09-02 14:23 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.