Author: ron.sigal(a)jboss.com
Date: 2008-04-04 03:43:59 -0400 (Fri, 04 Apr 2008)
New Revision: 3888
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/detection/util/DetectorUtil.java
Log:
JBREM-934: Uses SystemUtility.setSystemProperty().
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/detection/util/DetectorUtil.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/detection/util/DetectorUtil.java 2008-04-04
07:43:10 UTC (rev 3887)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/detection/util/DetectorUtil.java 2008-04-04
07:43:59 UTC (rev 3888)
@@ -37,6 +37,7 @@
import org.jboss.remoting.network.NetworkInstance;
import org.jboss.remoting.network.NetworkRegistry;
import org.jboss.remoting.transport.Connector;
+import org.jboss.remoting.util.SystemUtility;
/**
@@ -103,7 +104,7 @@
org.apache.log4j.Category.getRoot().setLevel(Level.DEBUG);
Logger log = Logger.getLogger(getClass());
- System.setProperty("jboss.identity",
String.valueOf(System.currentTimeMillis()));
+ SystemUtility.setSystemProperty("jboss.identity",
String.valueOf(System.currentTimeMillis()));
MBeanServer server = null;
try
Show replies by date