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

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Wed Jan 26 20:35:36 EST 2011


Author: ron.sigal at jboss.com
Date: 2011-01-26 20:35:36 -0500 (Wed, 26 Jan 2011)
New Revision: 6225

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java
Log:
JBREM-1269: Removed synchronization from getLeasePinger().

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java	2011-01-26 04:54:17 UTC (rev 6224)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/MicroRemoteClientInvoker.java	2011-01-27 01:35:36 UTC (rev 6225)
@@ -722,10 +722,7 @@
    
    protected LeasePinger getLeasePinger()
    {
-      synchronized(clientLeaseLock)
-      {
-         return leasePinger;
-      }
+      return leasePinger;
    }
    
    static private String getSystemProperty(final String name)



More information about the jboss-remoting-commits mailing list