} else if (childLocalName.equals("module")) {
EarModule module = null;
for (Node moduleNode : Cast.<List<Node>>uncheckedCast(child.children())) {
String moduleNodeLocalName = localNameOf(moduleNode);
if (moduleNodeLocalName.equals("web")) {
<BUG>Node webUriNode = childNodeNamed(moduleNode, "web-uri");

Node contextRootNode = childNodeNamed(moduleNode, "context-root");

String webUri = webUriNode != null ? webUriNode.text() : null;
String contextRoot = contextRootNode != null ? contextRootNode.text() : null;</BUG>
module = new DefaultEarWebModule(webUri, contextRoot);

} else if (childLocalName.equals("module")) {
EarModule module = null;
for (Node moduleNode : Cast.<List<Node>>uncheckedCast(child.children())) {
String moduleNodeLocalName = localNameOf(moduleNode);
if (moduleNodeLocalName.equals("web")) {
String webUri = childNodeText(moduleNode, "web-uri");
String contextRoot = childNodeText(moduleNode, "context-root");
module = new DefaultEarWebModule(webUri, contextRoot);
