diff --git a/src/main/org/apache/tools/ant/property/ParseProperties.java b/src/main/org/apache/tools/ant/property/ParseProperties.java index bac0f1cff..7f54bd2fc 100644 --- a/src/main/org/apache/tools/ant/property/ParseProperties.java +++ b/src/main/org/apache/tools/ant/property/ParseProperties.java @@ -65,7 +65,7 @@ public class ParseProperties implements ParseNextProperty { * null if the original string is null. */ public Object parseProperties(String value) { - if (value == null || "".equals(value) || value.indexOf('$') == -1) { + if (value == null || "".equals(value)) { return value; } ParsePosition pos = new ParsePosition(0);