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

Manik Surtani msurtani at jboss.com
Thu Oct 19 10:29:14 EDT 2006


  User: msurtani
  Date: 06/10/19 10:29:14

  Modified:    src/org/jboss/cache/interceptors  Tag:
                        Branch_JBossCache_1_4_0 TxInterceptor.java
  Log:
  potential fix for missing tx scope
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.48.2.7  +2 -2      JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TxInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/TxInterceptor.java,v
  retrieving revision 1.48.2.6
  retrieving revision 1.48.2.7
  diff -u -b -r1.48.2.6 -r1.48.2.7
  --- TxInterceptor.java	11 Oct 2006 13:49:25 -0000	1.48.2.6
  +++ TxInterceptor.java	19 Oct 2006 14:29:13 -0000	1.48.2.7
  @@ -198,7 +198,7 @@
         {
         }
         
  -      ctx.setTransaction( tx == null || !isValid(tx) ? null : tx); // make sure the tx is valid, otherwise set as null - see JBCACHE-785  
  +      ctx.setTransaction( tx );//tx == null || !isValid(tx) ? null : tx); // make sure the tx is valid, otherwise set as null - see JBCACHE-785
         if (ctx.getTransaction() == null) ctx.setGlobalTransaction(null);  // nullify gtx as well
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list