[jboss-cvs] jboss-seam/src/main/org/jboss/seam/init ...
Gavin King
gavin.king at jboss.com
Wed Jul 25 10:40:31 EDT 2007
User: gavin
Date: 07/07/25 10:40:31
Modified: src/main/org/jboss/seam/init Initialization.java
Log:
fix some problems with test suite
Revision Changes Path
1.189 +4 -4 jboss-seam/src/main/org/jboss/seam/init/Initialization.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Initialization.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/init/Initialization.java,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -b -r1.188 -r1.189
--- Initialization.java 18 Jul 2007 14:37:30 -0000 1.188
+++ Initialization.java 25 Jul 2007 14:40:31 -0000 1.189
@@ -361,7 +361,7 @@
throw new IllegalArgumentException("must specify either class or name in <component/> declaration");
}
- for (Element prop : (List<Element>) component.elements())
+ for ( Element prop : (List<Element>) component.elements() )
{
String propName = prop.attributeValue("name");
if (propName == null)
@@ -369,10 +369,10 @@
propName = prop.getQName().getName();
}
String qualifiedPropName = name + '.' + toCamelCase(propName, false);
- properties.put(qualifiedPropName, getPropertyValue(prop, qualifiedPropName, replacements));
+ properties.put( qualifiedPropName, getPropertyValue(prop, qualifiedPropName, replacements) );
}
- for (Attribute prop: (List<Attribute>) component.attributes())
+ for ( Attribute prop: (List<Attribute>) component.attributes() )
{
String attributeName = prop.getName();
boolean isProperty = !"name".equals(attributeName) &&
@@ -386,7 +386,7 @@
if (isProperty)
{
String qualifiedPropName = name + '.' + toCamelCase( prop.getQName().getName(), false );
- properties.put(qualifiedPropName, getPropertyValue(prop, replacements));
+ properties.put( qualifiedPropName, getPropertyValue(prop, replacements) );
}
}
}
More information about the jboss-cvs-commits
mailing list