[jboss-cvs] JBossCache/src/org/jboss/cache/config ...
Manik Surtani
msurtani at jboss.com
Tue Jul 18 13:50:55 EDT 2006
User: msurtani
Date: 06/07/18 13:50:55
Modified: src/org/jboss/cache/config ConfigurationImpl.java
Log:
Make sure configuration impl reads in configs properly
Revision Changes Path
1.3 +1 -8 JBossCache/src/org/jboss/cache/config/ConfigurationImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConfigurationImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/config/ConfigurationImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ConfigurationImpl.java 18 Jul 2006 10:50:45 -0000 1.2
+++ ConfigurationImpl.java 18 Jul 2006 17:50:55 -0000 1.3
@@ -73,14 +73,7 @@
public Element getAttributeAsXml(String attribute) throws ConfigurationException
{
- try
- {
- return XmlHelper.stringToElement(getAttribute(attribute));
- }
- catch (Exception e)
- {
- throw new ConfigurationException("Configuration element " + attribute + " was not able to be converted to an Element! Error:" + e.getMessage());
- }
+ return xmlAttribs.get(attribute);
}
public void setAttribute(String attribute, String value)
More information about the jboss-cvs-commits
mailing list