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 172015 Details for
Bug 316785
Exception thrown when a version 2.4 web.xml is used in a version 2.5 faceted web project
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Add in enumerations for 2.2, 2.3, and 2.4
bug316785.patch (text/plain), 3.16 KB, created by
Carl Anderson
on 2010-06-15 23:10:07 EDT
(
hide
)
Description:
Add in enumerations for 2.2, 2.3, and 2.4
Filename:
MIME Type:
Creator:
Carl Anderson
Created:
2010-06-15 23:10:07 EDT
Size:
3.16 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.j2ee.core >Index: jee-models/org/eclipse/jst/javaee/web/WebAppVersionType.java >=================================================================== >RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/web/WebAppVersionType.java,v >retrieving revision 1.3 >diff -u -r1.3 WebAppVersionType.java >--- jee-models/org/eclipse/jst/javaee/web/WebAppVersionType.java 15 Oct 2009 18:52:03 -0000 1.3 >+++ jee-models/org/eclipse/jst/javaee/web/WebAppVersionType.java 16 Jun 2010 03:08:05 -0000 >@@ -37,6 +37,33 @@ > public enum WebAppVersionType implements Enumerator > { > /** >+ * The '<em><b>22</b></em>' literal object. >+ * <!-- begin-user-doc --> >+ * <!-- end-user-doc --> >+ * @see #_22 >+ * @generated >+ * @ordered >+ */ >+ _22_LITERAL(-1, "_22", "2.2"), //$NON-NLS-1$ //$NON-NLS-2$ >+ /** >+ * The '<em><b>23</b></em>' literal object. >+ * <!-- begin-user-doc --> >+ * <!-- end-user-doc --> >+ * @see #_23 >+ * @generated >+ * @ordered >+ */ >+ _23_LITERAL(-2, "_23", "2.3"), //$NON-NLS-1$ //$NON-NLS-2$ >+ /** >+ * The '<em><b>24</b></em>' literal object. >+ * <!-- begin-user-doc --> >+ * <!-- end-user-doc --> >+ * @see #_24 >+ * @generated >+ * @ordered >+ */ >+ _24_LITERAL(-1, "_24", "2.4"), //$NON-NLS-1$ //$NON-NLS-2$ >+ /** > * The '<em><b>25</b></em>' literal object. > * <!-- begin-user-doc --> > * <!-- end-user-doc --> >@@ -55,6 +82,45 @@ > */ > _30_LITERAL(1, "_30", "3.0"); //$NON-NLS-1$ //$NON-NLS-2$ > /** >+ * The '<em><b>22</b></em>' literal value. >+ * <!-- begin-user-doc --> >+ * <p> >+ * If the meaning of '<em><b>22</b></em>' literal object isn't clear, >+ * there really should be more of a description here... >+ * </p> >+ * <!-- end-user-doc --> >+ * @see #_22_LITERAL >+ * @generated >+ * @ordered >+ */ >+ public static final int _22 = -3; >+ /** >+ * The '<em><b>23</b></em>' literal value. >+ * <!-- begin-user-doc --> >+ * <p> >+ * If the meaning of '<em><b>23</b></em>' literal object isn't clear, >+ * there really should be more of a description here... >+ * </p> >+ * <!-- end-user-doc --> >+ * @see #_23_LITERAL >+ * @generated >+ * @ordered >+ */ >+ public static final int _23 = -2; >+ /** >+ * The '<em><b>24</b></em>' literal value. >+ * <!-- begin-user-doc --> >+ * <p> >+ * If the meaning of '<em><b>24</b></em>' literal object isn't clear, >+ * there really should be more of a description here... >+ * </p> >+ * <!-- end-user-doc --> >+ * @see #_24_LITERAL >+ * @generated >+ * @ordered >+ */ >+ public static final int _24 = -1; >+ /** > * The '<em><b>25</b></em>' literal value. > * <!-- begin-user-doc --> > * <p> >@@ -90,6 +156,9 @@ > */ > private static final WebAppVersionType[] VALUES_ARRAY = > new WebAppVersionType[] { >+ _22_LITERAL, >+ _23_LITERAL, >+ _24_LITERAL, > _25_LITERAL, > _30_LITERAL, > }; >@@ -142,6 +211,9 @@ > */ > public static WebAppVersionType get(int value) { > switch (value) { >+ case _22: return _25_LITERAL; >+ case _23: return _25_LITERAL; >+ case _24: return _25_LITERAL; > case _25: return _25_LITERAL; > case _30: return _30_LITERAL; > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 316785
: 172015