portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r233305 - /portals/jetspeed-2/trunk/components/cm/src/java/org/apache/jetspeed/testhelpers/AbstractTestHelper.java
Date Thu, 18 Aug 2005 10:31:55 GMT
Author: ate
Date: Thu Aug 18 03:31:44 2005
New Revision: 233305

URL: http://svn.apache.org/viewcvs?rev=233305&view=rev
Log:
Fix for http://issues.apache.org/jira/browse/JS2-320.
Commons Configuration property value variable interpolation *only* is done when retrieving
a property value as String.

Modified:
    portals/jetspeed-2/trunk/components/cm/src/java/org/apache/jetspeed/testhelpers/AbstractTestHelper.java

Modified: portals/jetspeed-2/trunk/components/cm/src/java/org/apache/jetspeed/testhelpers/AbstractTestHelper.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/cm/src/java/org/apache/jetspeed/testhelpers/AbstractTestHelper.java?rev=233305&r1=233304&r2=233305&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/cm/src/java/org/apache/jetspeed/testhelpers/AbstractTestHelper.java
(original)
+++ portals/jetspeed-2/trunk/components/cm/src/java/org/apache/jetspeed/testhelpers/AbstractTestHelper.java
Thu Aug 18 03:31:44 2005
@@ -78,7 +78,7 @@
         String prop = System.getProperty(key);
         if (prop == null)
         {
-            return (String) USER_PROPERTIES.getProperty(key);
+            return USER_PROPERTIES.getString(key);
         }
         else
         {



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message