[jboss-remoting-commits] JBoss Remoting SVN: r5153 - remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Thu May 7 17:57:58 EDT 2009
Author: ron.sigal at jboss.com
Date: 2009-05-07 17:57:57 -0400 (Thu, 07 May 2009)
New Revision: 5153
Modified:
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/ConnectionValidator.java
Log:
JBREM-1128: Just makes one call to Client.getInvoker() in getParameters() (cosmetic).
Modified: remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/ConnectionValidator.java
===================================================================
--- remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/ConnectionValidator.java 2009-05-07 21:56:11 UTC (rev 5152)
+++ remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/ConnectionValidator.java 2009-05-07 21:57:57 UTC (rev 5153)
@@ -518,7 +518,8 @@
ClientInvoker clientInvoker = client.getInvoker();
if (clientInvoker instanceof MicroRemoteClientInvoker)
{
- invokerSessionId = ((MicroRemoteClientInvoker) clientInvoker).getSessionId();
+ sharedInvoker = (MicroRemoteClientInvoker) clientInvoker;
+ invokerSessionId = sharedInvoker.getSessionId();
}
else
{
@@ -526,7 +527,6 @@
}
if (stopLeaseOnFailure)
{
- sharedInvoker = (MicroRemoteClientInvoker) client.getInvoker();
if (sharedInvoker != null)
{
leasePinger = sharedInvoker.getLeasePinger();
More information about the jboss-remoting-commits
mailing list