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

Manik Surtani manik at jboss.org
Thu Jul 12 10:26:34 EDT 2007


  User: msurtani
  Date: 07/07/12 10:26:34

  Modified:    src/org/jboss/cache  NodeFactory.java
  Log:
  JBCACHE-1133
  
  Revision  Changes    Path
  1.4       +4 -1      JBossCache/src/org/jboss/cache/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/NodeFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- NodeFactory.java	11 Jun 2007 15:06:02 -0000	1.3
  +++ NodeFactory.java	12 Jul 2007 14:26:34 -0000	1.4
  @@ -60,7 +60,10 @@
       */
      public NodeSPI<K, V> createDataNode(Object childName, Fqn fqn, NodeSPI<K, V> parent, Map<K, V> data, boolean mapSafe)
      {
  -      return optimistic ? new VersionedNode<K, V>(fqn, parent, data, cache) : new UnversionedNode<K, V>(childName, fqn, data, mapSafe, cache);
  +      NodeSPI<K, V> n = optimistic ? new VersionedNode<K, V>(fqn, parent, data, cache) : new UnversionedNode<K, V>(childName, fqn, data, mapSafe, cache);
  +      // always assume that new nodes do not have data loaded
  +      n.setDataLoaded(false);
  +      return n;
      }
   
      public Node<K, V> createNode(Object childName, Node<K, V> parent, Map<K, V> data)
  
  
  



More information about the jboss-cvs-commits mailing list