From 284423a5c24952029d97283978f9c1fa53d1f793 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Sun, 31 Aug 2008 15:53:13 +0000 Subject: [PATCH] Properties aren't necessarily delimited by ${} anymore. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@690716 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/property/ParseProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);