Browse Source

Merge branch '1.9.x'

master
Stefan Bodewig 9 years ago
parent
commit
f6e6c20a89
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/MacroInstance.java

+ 5
- 0
WHATSNEW View File

@@ -13,6 +13,11 @@ Changes that could break older environments:
Fixed bugs:
-----------

* setDynamicAttribute on MacroInstance now lower-cases the attribute
name in order to allow users of the API to use the attributes names
they have specified.
Bugzilla Report 59339

Other changes:
--------------



+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/MacroInstance.java View File

@@ -81,7 +81,7 @@ public class MacroInstance extends Task implements DynamicAttribute, TaskContain
* @param value the value of the attribute
*/
public void setDynamicAttribute(String name, String value) {
map.put(name, value);
map.put(name.toLowerCase(Locale.ENGLISH), value);
}

/**


Loading…
Cancel
Save