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

Elias Ross genman at noderunner.net
Thu Feb 8 09:52:43 EST 2007


  User: genman  
  Date: 07/02/08 09:52:43

  Modified:    src/org/jboss/cache  CacheImpl.java
  Log:
  JBCACHE-969 - Move transaction classes to org.jboss.cache.transaction
  
  Revision  Changes    Path
  1.45      +4 -0      JBossCache/src/org/jboss/cache/CacheImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -b -r1.44 -r1.45
  --- CacheImpl.java	7 Feb 2007 22:06:44 -0000	1.44
  +++ CacheImpl.java	8 Feb 2007 14:52:43 -0000	1.45
  @@ -1693,6 +1693,8 @@
         }
         else
         {
  +         if (root == null)
  +            return sb.toString();
            for (NodeSPI n : root.getChildrenDirect())
            {
               n.print(sb, indent);
  @@ -3637,6 +3639,8 @@
       */
      protected Object invokeMethod(MethodCall m) throws CacheException
      {
  +      if (interceptor_chain == null)
  +         throw new NullPointerException("interceptor_chain");
         try
         {
            return interceptor_chain.invoke(m);
  
  
  



More information about the jboss-cvs-commits mailing list