[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo ...

Ben Wang bwang at jboss.com
Sat Sep 16 02:22:48 EDT 2006


  User: bwang   
  Date: 06/09/16 02:22:48

  Modified:    tests-50/functional/org/jboss/cache/pojo  TxUndoTest.java
  Log:
  Updated.
  
  Revision  Changes    Path
  1.5       +8 -1      JBossCache/tests-50/functional/org/jboss/cache/pojo/TxUndoTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TxUndoTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/TxUndoTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- TxUndoTest.java	8 Sep 2006 07:51:26 -0000	1.4
  +++ TxUndoTest.java	16 Sep 2006 06:22:48 -0000	1.5
  @@ -72,7 +72,14 @@
   
      private boolean hasCacheInterceptor(Object pojo)
      {
  -      Interceptor[] interceptors = ((Advised)pojo)._getInstanceAdvisor().getInterceptors();
  +      Interceptor[] interceptors = null;
  +      try {
  +         interceptors = ((Advised)pojo)._getInstanceAdvisor().getInterceptors();
  +      } catch (Exception ex)
  +      {
  +         return false;
  +      }
  +
         for(int i=0; i < interceptors.length; i++)
         {
            if(interceptors[i] instanceof CacheFieldInterceptor)
  
  
  



More information about the jboss-cvs-commits mailing list