[jboss-cvs] JBossCache/src/org/jboss/cache/aop/interceptors ...

Brian Stansberry brian.stansberry at jboss.com
Wed Oct 11 23:38:17 EDT 2006


  User: bstansberry
  Date: 06/10/11 23:38:17

  Modified:    src/org/jboss/cache/aop/interceptors 
                        PojoEvictionInterceptor.java
  Log:
  [JBCACHE-801] Use enum for node event types
  
  Revision  Changes    Path
  1.9       +3 -2      JBossCache/src/org/jboss/cache/aop/interceptors/PojoEvictionInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoEvictionInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/aop/interceptors/PojoEvictionInterceptor.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- PojoEvictionInterceptor.java	25 Aug 2006 14:10:07 -0000	1.8
  +++ PojoEvictionInterceptor.java	12 Oct 2006 03:38:17 -0000	1.9
  @@ -10,6 +10,7 @@
   import org.jboss.cache.aop.AOPInstance;
   import org.jboss.cache.aop.InternalDelegate;
   import org.jboss.cache.eviction.EvictedEventNode;
  +import org.jboss.cache.eviction.NodeEventType;
   import org.jboss.cache.eviction.Region;
   import org.jboss.cache.interceptors.EvictionInterceptor;
   import org.jboss.cache.marshall.MethodDeclarations;
  @@ -124,7 +125,7 @@
   
               if (fqn != null && !isInternalNode(fqn))
               {
  -               return new EvictedEventNode(fqn, EvictedEventNode.VISIT_NODE_EVENT);
  +               return new EvictedEventNode(fqn, NodeEventType.VISIT_NODE_EVENT);
               }
            }
   
  @@ -151,7 +152,7 @@
   
               if (fqn != null && !isInternalNode(fqn))
               {
  -               return new EvictedEventNode(fqn, EvictedEventNode.VISIT_NODE_EVENT);
  +               return new EvictedEventNode(fqn, NodeEventType.VISIT_NODE_EVENT);
               }
            }
   
  
  
  



More information about the jboss-cvs-commits mailing list