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

Manik Surtani msurtani at jboss.com
Fri Aug 18 11:40:40 EDT 2006


  User: msurtani
  Date: 06/08/18 11:40:40

  Modified:    src/org/jboss/cache/optimistic   WorkspaceNode.java
                        WorkspaceNodeImpl.java
  Log:
  Habanero stabilisation efforts - scoping problems with more than one cache instance in the same thread/namespace.
  
  Revision  Changes    Path
  1.14      +0 -0      JBossCache/src/org/jboss/cache/optimistic/WorkspaceNode.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  
  
  
  1.24      +2 -2      JBossCache/src/org/jboss/cache/optimistic/WorkspaceNodeImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: WorkspaceNodeImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/optimistic/WorkspaceNodeImpl.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -b -r1.23 -r1.24
  --- WorkspaceNodeImpl.java	14 Aug 2006 17:52:35 -0000	1.23
  +++ WorkspaceNodeImpl.java	18 Aug 2006 15:40:40 -0000	1.24
  @@ -416,7 +416,7 @@
        */
       public TreeNode getOrCreateChild(Object child_name, GlobalTransaction gtx, boolean createIfNotExists)
       {
  -        return null;
  +        throw new UnsupportedOperationException("Unsupported for optimistic nodes");
       }
   
       /**
  @@ -425,7 +425,7 @@
        */
       public TreeNode createChild(Object child_name, Fqn fqn, TreeNode parent, Object key, Object value)
       {
  -        return null;
  +        throw new UnsupportedOperationException("Unsupported for optimistic nodes");
       }
   
       /**
  
  
  



More information about the jboss-cvs-commits mailing list