[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/collection ...

Elias Ross genman at noderunner.net
Mon Nov 20 18:32:49 EST 2006


  User: genman  
  Date: 06/11/20 18:32:49

  Modified:    src-50/org/jboss/cache/pojo/collection 
                        CollectionInterceptorUtil.java
  Log:
  JBCACHE-867 - add undo method calls for remove, add more debugging
  
  Revision  Changes    Path
  1.8       +3 -2      JBossCache/src-50/org/jboss/cache/pojo/collection/CollectionInterceptorUtil.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CollectionInterceptorUtil.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/collection/CollectionInterceptorUtil.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- CollectionInterceptorUtil.java	2 Aug 2006 15:45:20 -0000	1.7
  +++ CollectionInterceptorUtil.java	20 Nov 2006 23:32:49 -0000	1.8
  @@ -173,7 +173,7 @@
               MethodInvocation methodInvocation = (MethodInvocation) invocation;
               Long methodHash = new Long(methodInvocation.getMethodHash());
               Method method = (Method) managedMethods.get(methodHash);
  -            if (log.isDebugEnabled() && method != null)
  +            if (log.isTraceEnabled() && method != null)
               {
                  log.trace("invoke(): method intercepted " + method.getName());
               }
  @@ -189,7 +189,8 @@
                     method = (Method) methodMap.get(methodHash);
                  }
   
  -               log.trace("invke(): invoke non-managed method: " + method.toString());
  +               if (log.isTraceEnabled())
  +                  log.trace("invoke(): non-managed method: " + method.toString());
                  Object target = methodInvocation.getTargetObject();
                  if (target == null)
                  {
  
  
  



More information about the jboss-cvs-commits mailing list