ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/script ScriptDef.java
Date Fri, 23 Apr 2004 14:19:09 GMT
bodewig     2004/04/23 07:19:09

  Modified:    .        Tag: ANT_16_BRANCH WHATSNEW
               src/main/org/apache/tools/ant/taskdefs/optional/script Tag:
                        ANT_16_BRANCH ScriptDef.java
  Log:
  merge
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.503.2.80 +2 -0      ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.79
  retrieving revision 1.503.2.80
  diff -u -r1.503.2.79 -r1.503.2.80
  --- WHATSNEW	22 Apr 2004 21:33:06 -0000	1.503.2.79
  +++ WHATSNEW	23 Apr 2004 14:19:09 -0000	1.503.2.80
  @@ -149,6 +149,8 @@
   
   * failOnAny attribute for <parallel> was broken. Bugzilla Report 28122.
   
  +* fixed case handling of scriptdef attributes and elements.
  +
   Other changes:
   --------------
   
  
  
  
  No                   revision
  No                   revision
  1.7.2.6   +3 -2      ant/src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java
  
  Index: ScriptDef.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java,v
  retrieving revision 1.7.2.5
  retrieving revision 1.7.2.6
  diff -u -r1.7.2.5 -r1.7.2.6
  --- ScriptDef.java	9 Mar 2004 17:01:52 -0000	1.7.2.5
  +++ ScriptDef.java	23 Apr 2004 14:19:09 -0000	1.7.2.6
  @@ -27,6 +27,7 @@
   import java.util.Map;
   import java.util.HashMap;
   import java.util.List;
  +import java.util.Locale;
   import java.util.ArrayList;
   import java.util.Iterator;
   import java.util.Set;
  @@ -93,7 +94,7 @@
            * @param name the attribute name
            */
           public void setName(String name) {
  -            this.name = name;
  +            this.name = name.toLowerCase(Locale.US);
           }
       }
   
  @@ -125,7 +126,7 @@
            * @param name the name of this nested element
            */
           public void setName(String name) {
  -            this.name = name;
  +            this.name = name.toLowerCase(Locale.US);
           }
   
           /**
  
  
  

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


Mime
View raw message