[jboss-remoting-commits] JBoss Remoting SVN: r4239 - remoting2/branches/2.x/src/main/org/jboss/remoting/util.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Tue May 27 20:31:27 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-05-27 20:31:27 -0400 (Tue, 27 May 2008)
New Revision: 4239

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java
Log:
JBREM-978: Commented out System.out.println().

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java	2008-05-27 23:58:39 UTC (rev 4238)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java	2008-05-28 00:31:27 UTC (rev 4239)
@@ -111,7 +111,7 @@
             {
                boolean b1 = System.getSecurityManager() == null;
                boolean b2 = Boolean.getBoolean(Remoting.SKIP_ACCESS_CONTROL);
-               System.out.println("security manager: " + System.getSecurityManager());
+//               System.out.println("security manager: " + System.getSecurityManager());
                return new Boolean(b1 || b2);
             }
          })).booleanValue();
@@ -128,6 +128,7 @@
       return skipAccessControl;
    }
    
+   
    ///////////////////////////////////////////////////////////////////////////////////////
    // FilePermission methods
    ///////////////////////////////////////////////////////////////////////////////////////
@@ -421,7 +422,7 @@
       catch (PrivilegedActionException e)
       {
          throw (Exception) e.getCause();
-      }   
+      }  
    }
    
    
@@ -434,7 +435,7 @@
          try
          {
             c = Class.forName("java.lang.management.ManagementFactory");
-      }
+         }
          catch (Exception e)
          {
             System.out.println("Unable to access java.lang.management.ManagementFactory: must be using jdk 1.4");
@@ -456,7 +457,7 @@
                try
                {
                   c = Class.forName("java.lang.management.ManagementFactory");
-            }
+               }
                catch (Exception e)
                {
                   System.out.println("Unable to access java.lang.management.ManagementFactory: must be using jdk 1.4");
@@ -477,7 +478,7 @@
            throw (IllegalAccessException) cause;
         else
            throw (InvocationTargetException) cause;
-      }   
+      }  
    }
    
    
@@ -880,6 +881,7 @@
       }
    }
    
+   
    ///////////////////////////////////////////////////////////////////////////////////////
    // SocketPermission methods
    ///////////////////////////////////////////////////////////////////////////////////////




More information about the jboss-remoting-commits mailing list