Author: stevel
Date: Sun Jun 11 15:00:52 2006
New Revision: 413541
URL: http://svn.apache.org/viewvc?rev=413541&view=rev
Log:
change policy of PropertyResource to return the actual dereferenced value.
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/PropertyResource.java
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/PropertyResource.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/PropertyResource.java?rev=413541&r1=413540&r2=413541&view=diff
==============================================================================
---
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/PropertyResource.java
(original)
+++
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/PropertyResource.java
Sun Jun 11 15:00:52 2006
@@ -107,8 +107,7 @@
if (isReference()) {
return getCheckedRef().toString();
}
- return getName()!=null?("${"+getName()+"}")
- :"null";
+ return String.valueOf(getValue());
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]