[jbosscache-commits] JBoss Cache SVN: r7047 - core/trunk/src/main/java/org/jboss/cache/eviction.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Fri Oct 31 13:47:50 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-10-31 13:47:49 -0400 (Fri, 31 Oct 2008)
New Revision: 7047

Modified:
   core/trunk/src/main/java/org/jboss/cache/eviction/LRUAlgorithm.java
Log:
Removed unnecessarily verbose logging

Modified: core/trunk/src/main/java/org/jboss/cache/eviction/LRUAlgorithm.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/eviction/LRUAlgorithm.java	2008-10-31 15:18:50 UTC (rev 7046)
+++ core/trunk/src/main/java/org/jboss/cache/eviction/LRUAlgorithm.java	2008-10-31 17:47:49 UTC (rev 7047)
@@ -48,9 +48,7 @@
    @Override
    protected boolean shouldEvictNode(NodeEntry entry)
    {
-      if (trace) log.trace("Deciding whether to evict node " + entry);
       LRUAlgorithmConfig config = (LRUAlgorithmConfig) evictionAlgorithmConfig;
-      if (trace) log.trace("Config is " + config);
       // check the minimum time to live and see if we should not evict the node.  This check will
       // ensure that, if configured, nodes are kept alive for at least a minimum period of time.
       if (isYoungerThanMinimumTimeToLive(entry))




More information about the jbosscache-commits mailing list