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

Manik Surtani msurtani at jboss.com
Tue Sep 5 07:03:26 EDT 2006


  User: msurtani
  Date: 06/09/05 07:03:26

  Modified:    src/org/jboss/cache  TreeCacheProxyImpl.java
  Log:
  Fixed suppress locking bugs, improved interceptor chain construction, added new interceptor to construct invocation ctx
  
  Revision  Changes    Path
  1.23      +2 -2      JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCacheProxyImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- TreeCacheProxyImpl.java	31 Aug 2006 10:22:05 -0000	1.22
  +++ TreeCacheProxyImpl.java	5 Sep 2006 11:03:26 -0000	1.23
  @@ -324,7 +324,7 @@
               NodeImpl currentParent = currentNode;
               for (Object o : f.peekElements())
               {
  -               newNode = (NodeImpl) NodeFactory.getInstance().createNode(o, currentParent, Collections.EMPTY_MAP, treeCache);
  +               newNode = (NodeImpl) NodeFactory.getInstance().createNode(o, currentParent, Collections.emptyMap(), treeCache);
                  //currentParent.addChild(o, newNode);
                  treeCache._addChild(gtx, currentParent.getFqn(), o, newNode, true);
                  currentParent = newNode;
  @@ -337,7 +337,7 @@
         }
         else
         {
  -         treeCache.put(new Fqn(currentNode.getFqn(), f), Collections.EMPTY_MAP);
  +         treeCache.put(new Fqn(currentNode.getFqn(), f), Collections.emptyMap());
            return getChild(f);
         }
      }
  
  
  



More information about the jboss-cvs-commits mailing list