Bug 5662

Summary: Java formatter preferences for "else if" sample is backwards
Product: [Eclipse Project] JDT Reporter: Dave Dykstal <Dave_Dykstal>
Component: UIAssignee: Martin Aeschlimann <martinae>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P2    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Dave Dykstal CLA 2001-11-08 10:12:58 EST
The code example shown in the preferences window for the formatter shows "else 
if" on separate lines when the "keep else if on same line" option is checked.
Comment 1 Philipe Mulet CLA 2001-11-16 05:51:39 EST
I am sure I saw this bug in JDT/Core for a while... anyway the actual bug 
resides in the UI: the displayed option message is worded in the wrong way 
compared to the underlying logic. 

CodeFormatterPreferencePage.newline_else_if.label=&Keep else if on the same line

Comment 2 Martin Aeschlimann CLA 2001-11-20 09:06:39 EST
Label has been changed (-> Insert new line between 'else if')

>11106