ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant IntrospectionHelper.java
Date Thu, 11 Dec 2003 17:21:05 GMT
peterreilly    2003/12/11 09:21:05

  Modified:    src/main/org/apache/tools/ant IntrospectionHelper.java
  Log:
  Change dynamicConfigurator#create(Name) to pass in the localname
  of a namespaced element name and not the internal stingized verion
  of the namespaced element name. The local name is lower cased to
  be backward compatible with ant 1.5.
  
  Revision  Changes    Path
  1.69      +2 -1      ant/src/main/org/apache/tools/ant/IntrospectionHelper.java
  
  Index: IntrospectionHelper.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/IntrospectionHelper.java,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- IntrospectionHelper.java	18 Nov 2003 10:51:41 -0000	1.68
  +++ IntrospectionHelper.java	11 Dec 2003 17:21:05 -0000	1.69
  @@ -659,7 +659,8 @@
           }
           if (nc == null && parent instanceof DynamicConfigurator) {
               DynamicConfigurator dc = (DynamicConfigurator) parent;
  -            final Object nestedElement = dc.createDynamicElement(elementName);
  +            final Object nestedElement =
  +                dc.createDynamicElement(name.toLowerCase(Locale.US));
               if (nestedElement != null) {
                   nc = new NestedCreator() {
                       public boolean isPolyMorphic() {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message