Author: ron.sigal(a)jboss.com
Date: 2008-03-06 03:13:25 -0500 (Thu, 06 Mar 2008)
New Revision: 3571
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
Log:
JBREM-764: Replaced calls to Version.getDefaultVersion() with calls to
AbstractInvoker.getVersion().
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2008-03-06
08:12:47 UTC (rev 3570)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2008-03-06
08:13:25 UTC (rev 3571)
@@ -561,7 +561,7 @@
shouldCheckConnection = Boolean.valueOf(value).booleanValue();
log.debug(this + " setting shouldCheckConnection to " +
shouldCheckConnection);
}
- else if (Version.getDefaultVersion() == Version.VERSION_1)
+ else if (getVersion() == Version.VERSION_1)
{
shouldCheckConnection = true;
log.debug(this + " setting shouldCheckConnection to " +
shouldCheckConnection);
@@ -752,8 +752,8 @@
try
{
- int version = Version.getDefaultVersion();
- boolean performVersioning = Version.performVersioning();
+ int version = getVersion();
+ boolean performVersioning = Version.performVersioning(version);
OutputStream outputStream = socketWrapper.getOutputStream();