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 233894

Summary: Editor loose format in CASE statement
Product: java Reporter: ecerichter
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal CC: tommcatt
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: <no description>

Description ecerichter 2013-08-03 15:54:09 UTC
Product Version = NetBeans IDE Dev (Build 201307282300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

When using the Java editor, I hit Shift+Ctrl+F to format the code.
If there is a "if" statement inside a "case", the format is broken.
See attached screenshot for reference.
Comment 1 ecerichter 2013-08-03 15:54:52 UTC
Created attachment 138230 [details]
<no description>
Comment 2 Jiri Prox 2013-08-05 14:18:49 UTC
reproducible
Comment 3 Dusan Balek 2013-08-09 16:51:53 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/b16b07e31915
Comment 4 Dusan Balek 2013-09-04 07:51:13 UTC
*** Bug 235477 has been marked as a duplicate of this bug. ***