Bug 73371 - [1.5] Code formatter doesn't seem to accept enum declarations
Summary: [1.5] Code formatter doesn't seem to accept enum declarations
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 10:34 EDT by Martin Aeschlimann CLA
Modified: 2004-09-23 09:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2004-09-07 10:34:09 EDT
20040907

I'm currently adding the new 1.5 code formatter options.
I think my setup is correct (the map passed to the formatter specifies 1.5 for
source, compatibility and classfile), but so far 'null' is always returned as
resulting edit when formatting sources like

enum XY {CANCELLED, RUNNING, WAITING, FINISHED }
Comment 1 Olivier Thomann CLA 2004-09-07 12:41:33 EDT
I will investigate. This should be supported.
Comment 2 Olivier Thomann CLA 2004-09-07 14:08:26 EDT
Fixed and released in HEAD.
Regression test added.
Comment 3 David Audel CLA 2004-09-23 09:54:04 EDT
Verified in I200409240100.