From 3168ce7129340ffdaa5bcfa60d7573d5e4f87fe5 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Mon, 12 May 2003 12:16:07 +0000 Subject: [PATCH] Nested mappers didn't work for references git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274560 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/types/PropertySet.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/PropertySet.java b/src/main/org/apache/tools/ant/types/PropertySet.java index 554fce676..9819860e6 100644 --- a/src/main/org/apache/tools/ant/types/PropertySet.java +++ b/src/main/org/apache/tools/ant/types/PropertySet.java @@ -177,6 +177,10 @@ public class PropertySet extends DataType { return getRef().dynamic; } + public Mapper getMapper() { + return getRef()._mapper; + } + public Properties getProperties() { Vector names = null; Project prj = getProject(); @@ -193,8 +197,9 @@ public class PropertySet extends DataType { } FileNameMapper mapper = null; - if (_mapper != null) { - mapper = _mapper.getImplementation(); + Mapper myMapper = getMapper(); + if (myMapper != null) { + mapper = myMapper.getImplementation(); } Properties properties = new Properties(); for (Enumeration e = names.elements(); e.hasMoreElements();) {