Author: ron.sigal(a)jboss.com
Date: 2008-05-21 23:30:08 -0400 (Wed, 21 May 2008)
New Revision: 4211
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/ClientSocketWrapper.java
Log:
JBREM-982: Checks if (trace) before calling log.trace().
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/ClientSocketWrapper.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/ClientSocketWrapper.java 2008-05-22
03:28:55 UTC (rev 4210)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/ClientSocketWrapper.java 2008-05-22
03:30:08 UTC (rev 4211)
@@ -98,7 +98,7 @@
public void checkOpenConnection() throws IOException
{
- log.trace("checking open connection");
+ if (trace) log.trace("checking open connection");
if (in.available() > 1)
{
log.debug("remote endpoint has closed");
Show replies by date