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

Manik Surtani msurtani at jboss.com
Tue Jan 2 16:26:45 EST 2007


  User: msurtani
  Date: 07/01/02 16:26:45

  Modified:    src/org/jboss/cache/factories  NodeFactory.java
  Log:
  Optimised NodeFactory
  
  Revision  Changes    Path
  1.18      +2 -1      JBossCache/src/org/jboss/cache/factories/NodeFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: NodeFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/factories/NodeFactory.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- NodeFactory.java	2 Jan 2007 19:19:05 -0000	1.17
  +++ NodeFactory.java	2 Jan 2007 21:26:45 -0000	1.18
  @@ -31,7 +31,7 @@
      }
   
      private CacheSPI cache;
  -   private boolean optimistic = cache.getConfiguration().isNodeLockingOptimistic();
  +   private boolean optimistic;
   
      /**
       * Constructs an instance of the factory
  @@ -39,6 +39,7 @@
      public NodeFactory(CacheSPI cache)
      {
         this.cache = cache;
  +      optimistic = cache.getConfiguration().isNodeLockingOptimistic();
      }
   
      /**
  
  
  



More information about the jboss-cvs-commits mailing list