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

Manik Surtani msurtani at jboss.com
Mon Oct 16 06:55:40 EDT 2006


  User: msurtani
  Date: 06/10/16 06:55:40

  Modified:    src/org/jboss/cache  TreeCacheProxyImpl.java
  Log:
  stuff
  
  Revision  Changes    Path
  1.43      +2 -0      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.42
  retrieving revision 1.43
  diff -u -b -r1.42 -r1.43
  --- TreeCacheProxyImpl.java	12 Oct 2006 23:03:57 -0000	1.42
  +++ TreeCacheProxyImpl.java	16 Oct 2006 10:55:40 -0000	1.43
  @@ -452,6 +452,8 @@
   
      public void move(Node newParent) throws NodeNotExistsException
      {
  +      if (currentNode == null || currentNode.getFqn() == null)
  +         throw new NodeNotExistsException("Current node does not exist; perhaps it has been moved?");
         Object name = currentNode.getFqn().getLast();
         treeCache.move(newParent.getFqn(), currentNode.getFqn());
   
  
  
  



More information about the jboss-cvs-commits mailing list