ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r690716 - /ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java
Date Sun, 31 Aug 2008 15:53:13 GMT
Author: mbenson
Date: Sun Aug 31 08:53:13 2008
New Revision: 690716

URL: http://svn.apache.org/viewvc?rev=690716&view=rev
Log:
properties aren\'t necessarily delimited by ${} only amore

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java?rev=690716&r1=690715&r2=690716&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/property/ParseProperties.java Sun Aug 31
08:53:13 2008
@@ -65,7 +65,7 @@
      *         <code>null</code> if the original string is <code>null</code>.
      */
     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);



Mime
View raw message