[jboss-cvs] JBoss Messaging SVN: r1948 - trunk/src/main/org/jboss/jms/client.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jan 10 12:27:54 EST 2007
Author: clebert.suconic at jboss.com
Date: 2007-01-10 12:27:53 -0500 (Wed, 10 Jan 2007)
New Revision: 1948
Modified:
trunk/src/main/org/jboss/jms/client/FailoverValve.java
Log:
Removing traces on enter/leave as they are too verbose
Modified: trunk/src/main/org/jboss/jms/client/FailoverValve.java
===================================================================
--- trunk/src/main/org/jboss/jms/client/FailoverValve.java 2007-01-10 17:13:02 UTC (rev 1947)
+++ trunk/src/main/org/jboss/jms/client/FailoverValve.java 2007-01-10 17:27:53 UTC (rev 1948)
@@ -98,8 +98,6 @@
public void enter() throws InterruptedException
{
- if (trace) { log.trace("entering " + this); }
-
lock.readLock().acquire();
getCounter().counter++;
@@ -115,14 +113,10 @@
getStackEnters().push(ex);
debugEnters.put(ex, Thread.currentThread());
}
-
- if (trace) { log.trace("entered " + this); }
}
public void leave() throws InterruptedException
{
- if (trace) { log.trace("leaving " + this); }
-
lock.readLock().release();
// sanity check
@@ -141,8 +135,6 @@
Exception ex = (Exception) getStackEnters().pop();
debugEnters.remove(ex);
}
-
- if (trace) { log.trace("left " + this); }
}
public void close() throws InterruptedException
More information about the jboss-cvs-commits
mailing list