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

Brian Stansberry brian.stansberry at jboss.com
Wed May 9 14:42:14 EDT 2007


  User: bstansberry
  Date: 07/05/09 14:42:14

  Modified:    src/org/jboss/cache  CacheSPI.java
  Log:
  [JBCACHE-1050] Don't throw NPE if getInterceptorChain() invoked before create()
  
  Revision  Changes    Path
  1.35      +3 -1      JBossCache/src/org/jboss/cache/CacheSPI.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheSPI.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheSPI.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -b -r1.34 -r1.35
  --- CacheSPI.java	12 Mar 2007 18:13:46 -0000	1.34
  +++ CacheSPI.java	9 May 2007 18:42:14 -0000	1.35
  @@ -59,7 +59,9 @@
      TransactionManager getTransactionManager();
   
      /**
  -    * @return an immutable {@link List} of {@link Interceptor}s configured for this cache.
  +    * @return an immutable {@link List} of {@link Interceptor}s configured for this cache, or
  +    *         <code>null</code> if {@link Cache#create() create()} has not been invoked
  +    *         and the interceptors thus do not exist.  
       */
      List<Interceptor> getInterceptorChain();
   
  
  
  



More information about the jboss-cvs-commits mailing list