Permalink
Browse files

Merge pull request #33 from ropalka/JBMETA-356

[JBMETA-356] fixing NPE in JBossWebMetaDataParser
  • Loading branch information...
2 parents b91b55b + 3c45f38 commit e38191b29b35b56dc9be961b8b0ed69800d39c62 @jfclere jfclere committed Apr 16, 2012
@@ -40,12 +40,12 @@
import org.jboss.metadata.web.jboss.JBoss50DTDWebMetaData;
import org.jboss.metadata.web.jboss.JBoss50WebMetaData;
import org.jboss.metadata.web.jboss.JBoss60WebMetaData;
+import org.jboss.metadata.web.jboss.JBoss70WebMetaData;
import org.jboss.metadata.web.jboss.JBossAnnotationsMetaData;
import org.jboss.metadata.web.jboss.JBossServletsMetaData;
import org.jboss.metadata.web.jboss.JBossWebMetaData;
import org.jboss.metadata.web.jboss.ValveMetaData;
-
/**
* @author Remy Maucherat
*/
@@ -85,6 +85,7 @@ public static JBossWebMetaData parse(XMLStreamReader reader) throws XMLStreamExc
case JBOSS_WEB_5_0: wmd = new JBoss50DTDWebMetaData(); break;
case JBOSS_WEB_5_1: wmd = new JBoss50WebMetaData(); break;
case JBOSS_WEB_6_0: wmd = new JBoss60WebMetaData(); break;
+ case JBOSS_WEB_7_0: wmd = new JBoss70WebMetaData(); break;
}
// Handle attributes

0 comments on commit e38191b

Please sign in to comment.