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

Brian Stansberry brian.stansberry at jboss.com
Thu Dec 7 15:03:23 EST 2006


  User: bstansberry
  Date: 06/12/07 15:03:23

  Modified:    src/org/jboss/cache  TransactionEntry.java
  Log:
  Make internal fields private
  
  Revision  Changes    Path
  1.15      +8 -8      JBossCache/src/org/jboss/cache/TransactionEntry.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TransactionEntry.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TransactionEntry.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- TransactionEntry.java	21 Nov 2006 08:57:01 -0000	1.14
  +++ TransactionEntry.java	7 Dec 2006 20:03:23 -0000	1.15
  @@ -32,7 +32,7 @@
    * </ul>
    *
    * @author <a href="mailto:bela at jboss.org">Bela Ban</a> Apr 14, 2003
  - * @version $Revision: 1.14 $
  + * @version $Revision: 1.15 $
    */
   public class TransactionEntry {
   
  @@ -41,14 +41,14 @@
      /**
       * Local transaction
       */
  -   protected Transaction ltx=null;
  -   protected Option option;
  +   private Transaction ltx=null;
  +   private Option option;
   
      /**
       * List<MethodCall> of modifications ({@link MethodCall}). They will be replicated on TX commit
       */
  -   protected List<MethodCall> modification_list=new LinkedList<MethodCall>();
  -   protected List<MethodCall> cl_mod_list = new LinkedList<MethodCall>();
  +   private List<MethodCall> modification_list=new LinkedList<MethodCall>();
  +   private List<MethodCall> cl_mod_list = new LinkedList<MethodCall>();
   
      /**
       * List<MethodCall>. List of compensating {@link org.jboss.cache.marshall.MethodCall} objects
  @@ -56,18 +56,18 @@
       * we have a corresponding entry in this list. A rollback will simply iterate over this list in
       * reverse to undo the modifications. Note that these undo-ops will never be replicated.
       */
  -   protected List undo_list=new LinkedList();
  +   private List undo_list=new LinkedList();
   
      /**
       * List<IdentityLock> of locks acquired by the transaction ({@link IdentityLock})
       */
  -   protected List locks = new LinkedList();
  +   private List locks = new LinkedList();
   
      /**
       * A list of dummy uninitialised nodes created by the cache loader interceptor to load data for a
       * given node in this tx.
       */
  -   protected List dummyNodesCreatedByCacheLoader;
  +   private List dummyNodesCreatedByCacheLoader;
   
      /**
       * Constructs a new TransactionEntry.
  
  
  



More information about the jboss-cvs-commits mailing list