Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 126026 Details for
Bug 265307
Version 3.5.0 does not compile enums the same as version 3.4.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Example of enum class
Modifier.txt (text/plain), 470 bytes, created by
Andrew Heron
on 2009-02-18 10:13:23 EST
(
hide
)
Description:
Example of enum class
Filename:
MIME Type:
Creator:
Andrew Heron
Created:
2009-02-18 10:13:23 EST
Size:
470 bytes
patch
obsolete
>public enum Modifier { > > PUBLIC_STATIC(Modifier.PUBLIC + Modifier.STATIC), > PUBLIC_STATIC_FINAL(PUBLIC_STATIC.value + Modifier.FINAL); > > private int value; > > private Modifier(int value) { > this.value = value; > } > > public static final int PRIVATE = 1; > public static final int PUBLIC = 2; > public static final int PROTECTED = 4; > public static final int STATIC = 8; > public static final int FINAL = 16; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 265307
: 126026