Bug 73371

Summary: [1.5] Code formatter doesn't seem to accept enum declarations
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.