From 03d601691091687415b2de6112cab88365990bce Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Mon, 5 Dec 2005 21:18:23 +0000 Subject: [PATCH] fix setMapper method. PR# 37760 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@354190 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 5 ++++- src/main/org/apache/tools/ant/types/PropertySet.java | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/WHATSNEW b/WHATSNEW index fd773eca0..0f6a3b4f7 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -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: -------------- diff --git a/src/main/org/apache/tools/ant/types/PropertySet.java b/src/main/org/apache/tools/ant/types/PropertySet.java index c1559654a..1af009983 100644 --- a/src/main/org/apache/tools/ant/types/PropertySet.java +++ b/src/main/org/apache/tools/ant/types/PropertySet.java @@ -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); }