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

Manik Surtani msurtani at jboss.com
Mon Jan 1 17:12:20 EST 2007


  User: msurtani
  Date: 07/01/01 17:12:20

  Modified:    src/org/jboss/cache/loader  AbstractCacheLoader.java
  Log:
  - FqnComparator should not be in the optimistic subpackage
  - Fixed move() related issues
  
  Revision  Changes    Path
  1.15      +2 -2      JBossCache/src/org/jboss/cache/loader/AbstractCacheLoader.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AbstractCacheLoader.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/loader/AbstractCacheLoader.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- AbstractCacheLoader.java	31 Dec 2006 02:08:42 -0000	1.14
  +++ AbstractCacheLoader.java	1 Jan 2007 22:12:20 -0000	1.15
  @@ -220,7 +220,7 @@
         }
      }
   
  -   private void _move(Fqn parent, Fqn fqn) throws Exception
  +   private void _move(Fqn fqn, Fqn parent) throws Exception
      {
         Object name = fqn.getLastElement();
         Fqn newFqn = new Fqn(parent, name);
  @@ -228,7 +228,7 @@
         // start deep.
         for (Object c : getChildrenNames(fqn))
         {
  -         _move(newFqn, new Fqn(fqn, c));
  +         _move(new Fqn(fqn, c), newFqn);
         }
         // get data for node.
         Map<Object, Object> data = get(fqn);
  
  
  



More information about the jboss-cvs-commits mailing list