[jboss-remoting-commits] JBoss Remoting SVN: r3933 - remoting2/branches/2.x/src/main/org/jboss/remoting.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Fri Apr 11 20:55:24 EDT 2008
Author: ron.sigal at jboss.com
Date: 2008-04-11 20:55:24 -0400 (Fri, 11 Apr 2008)
New Revision: 3933
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java
Log:
JBREM-934: Renamed SystemUtility to SecurityUtility.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java 2008-04-12 00:54:18 UTC (rev 3932)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java 2008-04-12 00:55:24 UTC (rev 3933)
@@ -22,11 +22,8 @@
package org.jboss.remoting;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
+import org.jboss.remoting.util.SecurityUtility;
-import org.jboss.remoting.util.SystemUtility;
-
/**
* @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
*/
@@ -53,7 +50,7 @@
static
{
boolean precompatibleFlag = false;
- String precompatible = SystemUtility.getSystemProperty(PRE_2_0_COMPATIBLE);
+ String precompatible = SecurityUtility.getSystemProperty(PRE_2_0_COMPATIBLE);
if(precompatible != null && precompatible.length() > 0)
{
@@ -67,7 +64,7 @@
}
else
{
- String userDefinedVersion = SystemUtility.getSystemProperty(REMOTING_VERSION_TO_USE);
+ String userDefinedVersion = SecurityUtility.getSystemProperty(REMOTING_VERSION_TO_USE);
if(userDefinedVersion != null && userDefinedVersion.length() > 0)
{
@@ -88,7 +85,7 @@
}
else
{
- SystemUtility.setSystemProperty(REMOTING_VERSION_TO_USE, new Byte(defaultByteVersion).toString());
+ SecurityUtility.setSystemProperty(REMOTING_VERSION_TO_USE, new Byte(defaultByteVersion).toString());
}
}
}
More information about the jboss-remoting-commits
mailing list