tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1518661 - /tomee/tomee/trunk/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/BodyContent$JAXB.java
Date Thu, 29 Aug 2013 14:28:17 GMT
Author: rmannibucau
Date: Thu Aug 29 14:28:16 2013
New Revision: 1518661

URL: http://svn.apache.org/r1518661
Log:
tolerating body context whatever the case is since tomcat uses it in its samples

Modified:
    tomee/tomee/trunk/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/BodyContent$JAXB.java

Modified: tomee/tomee/trunk/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/BodyContent$JAXB.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/BodyContent%24JAXB.java?rev=1518661&r1=1518660&r2=1518661&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/BodyContent$JAXB.java
(original)
+++ tomee/tomee/trunk/container/openejb-jee-accessors/src/main/java/org/apache/openejb/jee/BodyContent$JAXB.java
Thu Aug 29 14:28:16 2013
@@ -42,13 +42,13 @@ public class BodyContent$JAXB
 
     public static BodyContent parseBodyContent(XoXMLStreamReader reader, RuntimeContext context,
String value)
             throws Exception {
-        if ("tagdependent".equals(value)) {
+        if ("tagdependent".equalsIgnoreCase(value)) {
             return BodyContent.TAGDEPENDENT;
-        } else if ("JSP".equals(value)) {
+        } else if ("JSP".equalsIgnoreCase(value)) {
             return BodyContent.JSP;
-        } else if ("empty".equals(value)) {
+        } else if ("empty".equalsIgnoreCase(value)) {
             return BodyContent.EMPTY;
-        } else if ("scriptless".equals(value)) {
+        } else if ("scriptless".equalsIgnoreCase(value)) {
             return BodyContent.SCRIPTLESS;
         } else {
             context.unexpectedEnumValue(reader, BodyContent.class, value, "tagdependent",
"JSP", "empty", "scriptless");



Mime
View raw message