[jboss-remoting-commits] JBoss Remoting SVN: r3898 - remoting2/branches/2.x/src/tests/org/jboss/ant/taskdefs.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Fri Apr 4 18:39:02 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-04-04 18:39:02 -0400 (Fri, 04 Apr 2008)
New Revision: 3898

Modified:
   remoting2/branches/2.x/src/tests/org/jboss/ant/taskdefs/XMLJUnitMultipleResultFormatter.java
Log:
JBREM-934: Replaced System.getProperties() with SystemUtility.getSystemProperty().

Modified: remoting2/branches/2.x/src/tests/org/jboss/ant/taskdefs/XMLJUnitMultipleResultFormatter.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/ant/taskdefs/XMLJUnitMultipleResultFormatter.java	2008-04-04 22:37:28 UTC (rev 3897)
+++ remoting2/branches/2.x/src/tests/org/jboss/ant/taskdefs/XMLJUnitMultipleResultFormatter.java	2008-04-04 22:39:02 UTC (rev 3898)
@@ -24,6 +24,7 @@
 
 import org.apache.tools.ant.taskdefs.optional.junit.JUnitTest;
 import org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter;
+import org.jboss.remoting.util.SystemUtility;
 
 /**
  * @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
@@ -33,7 +34,7 @@
 
    public void startTestSuite(JUnitTest test)
    {
-      String configuration = (String) System.getProperties().get("jboss-junit-configuration");
+      String configuration = (String) SystemUtility.getSystemProperty("jboss-junit-configuration");
 
       // if sys prop is not null, empty, or contain default variable alias
       if(configuration != null && !configuration.trim().equals("") &&




More information about the jboss-remoting-commits mailing list