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

Manik Surtani manik at jboss.org
Wed May 30 04:38:40 EDT 2007


  User: msurtani
  Date: 07/05/30 04:38:40

  Modified:    src/org/jboss/cache/loader  AbstractCacheLoader.java
  Log:
  null chk
  
  Revision  Changes    Path
  1.25      +7 -3      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.24
  retrieving revision 1.25
  diff -u -b -r1.24 -r1.25
  --- AbstractCacheLoader.java	23 May 2007 10:28:57 -0000	1.24
  +++ AbstractCacheLoader.java	30 May 2007 08:38:40 -0000	1.25
  @@ -251,10 +251,14 @@
         Fqn newFqn = new Fqn(parent, name);
   
         // start deep.
  -      for (Object c : getChildrenNames(fqn))
  +      Set childrenNames = getChildrenNames(fqn);
  +      if (childrenNames != null)
  +      {
  +         for (Object c : childrenNames)
         {
            _move(new Fqn(fqn, c), newFqn);
         }
  +      }
         // get data for node.
         Map<Object, Object> data = get(fqn);
         if (data != null)// if null, then the node never existed.  Don't bother removing?
  
  
  



More information about the jboss-cvs-commits mailing list