Browse Source

fix setMapper method. PR# 37760

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@354190 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 19 years ago
parent
commit
03d6016910
2 changed files with 5 additions and 1 deletions
  1. +4
    -1
      WHATSNEW
  2. +1
    -0
      src/main/org/apache/tools/ant/types/PropertySet.java

+ 4
- 1
WHATSNEW View File

@@ -161,7 +161,10 @@ Fixed bugs:

* > 1 ssh invocations to a given host would fail. Bugzilla report 36207.

* EmailTask was eating SMTP error messages. Bugzilla report 37547.
* EmailTask was eating SMTP error messages. Bugzilla report 37547.

* PropertySet API setMapper(...) didn't properly set up the Mapper.
Bugzilla report 37760.

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


+ 1
- 0
src/main/org/apache/tools/ant/types/PropertySet.java View File

@@ -170,6 +170,7 @@ public class PropertySet extends DataType implements ResourceCollection {
Mapper m = createMapper();
Mapper.MapperType mapperType = new Mapper.MapperType();
mapperType.setValue(type);
m.setType(mapperType);
m.setFrom(from);
m.setTo(to);
}


Loading…
Cancel
Save