From 4285e2be2ff5afd7100e624aab8d64feb06ec370 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Fri, 27 May 2005 20:29:55 +0000 Subject: [PATCH] Replace properties in description elements git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278371 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/types/Description.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/types/Description.java b/src/main/org/apache/tools/ant/types/Description.java index e8fef36b7..eb78215eb 100644 --- a/src/main/org/apache/tools/ant/types/Description.java +++ b/src/main/org/apache/tools/ant/types/Description.java @@ -99,9 +99,9 @@ public class Description extends DataType { continue; } UnknownElement ue = ((UnknownElement) task); - StringBuffer descComp = ue.getWrapper().getText(); + String descComp = ue.getWrapper().getText().toString(); if (descComp != null) { - description.append((Object) descComp); + description.append(project.replaceProperties(descComp)); } } }