[webbeans-commits] Webbeans SVN: r2144 - ri/trunk/impl/src/main/java/org/jboss/webbeans/xml.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Mon Mar 23 08:34:19 EDT 2009
Author: vitold
Date: 2009-03-23 08:34:19 -0400 (Mon, 23 Mar 2009)
New Revision: 2144
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/xml/XmlParser.java
Log:
minor changes
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/xml/XmlParser.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/xml/XmlParser.java 2009-03-23 11:45:41 UTC (rev 2143)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/xml/XmlParser.java 2009-03-23 12:34:19 UTC (rev 2144)
@@ -72,18 +72,8 @@
element.getName().equalsIgnoreCase(XmlConstants.DEPLOY))
environment.getEnabledDeploymentTypes().addAll(obtainDeploymentTypes(element));
}
- }
-
- @SuppressWarnings("unchecked")
- public boolean checkNamespaces(Document document)
- {
- //TODO: not finished
- Element root = document.getRootElement();
- List<Namespace> declaredNamespaces = root.declaredNamespaces();
-
- return true;
- }
-
+ }
+
private Document createDocument(URL url)
{
try
@@ -97,7 +87,6 @@
}
SAXReader reader = new SAXReader();
Document document = reader.read(xmlStream);
- checkNamespaces(document);
fullFillPackagesMap(document);
return document;
}
More information about the weld-commits
mailing list