Bug 5662 - Java formatter preferences for "else if" sample is backwards
Summary: Java formatter preferences for "else if" sample is backwards
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 minor (vote)
Target Milestone: ---   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-08 10:12 EST by Dave Dykstal CLA
Modified: 2001-11-20 09:06 EST (History)
0 users

See Also:


Attachments

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