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

Jason Thomas Greene jgreene at jboss.com
Thu Apr 26 11:23:28 EDT 2007


  User: jgreene 
  Date: 07/04/26 11:23:28

  Modified:    src/org/jboss/cache/pojo/impl  PojoCacheDelegate.java
  Log:
  Disable error-prone usage of direct API
  
  Revision  Changes    Path
  1.5       +3 -3      JBossCache/src/org/jboss/cache/pojo/impl/PojoCacheDelegate.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoCacheDelegate.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/impl/PojoCacheDelegate.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- PojoCacheDelegate.java	23 Apr 2007 02:53:22 -0000	1.4
  +++ PojoCacheDelegate.java	26 Apr 2007 15:23:27 -0000	1.5
  @@ -156,7 +156,7 @@
         setPojoReference(fqn, obj, internalFqn);
         // creates the internal node first without going thru the interceptor.
         // This way we don't block on __JBossInternal__ node.
  -      createChildNodeFirstWithoutLocking(internalFqn);
  +      //createChildNodeFirstWithoutLocking(internalFqn);
   
         if (log.isDebugEnabled())
         {
  @@ -217,13 +217,13 @@
         Fqn f = internalFqn.getSubFqn(0, size - 1);
         Fqn child = internalFqn.getSubFqn(size - 1, size);
   
  -      NodeSPI base = cache_.getRoot().getChildDirect(f);
  +      Node base = cache_.getRoot().getChild(f);
         if (base == null)
         {
            log.debug("The node retrieved is null from fqn: " + f);
            return;
         }
  -      base.addChildDirect(child);
  +      base.addChild(child);
      }
   
      /**
  
  
  



More information about the jboss-cvs-commits mailing list