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

Manik Surtani manik at jboss.org
Sun Jul 22 11:11:17 EDT 2007


  User: msurtani
  Date: 07/07/22 11:11:17

  Modified:    tests/functional/org/jboss/cache/api  NodeSPITest.java
  Log:
  No longer a defensive copy with getDataDirect
  
  Revision  Changes    Path
  1.7       +1 -1      JBossCache/tests/functional/org/jboss/cache/api/NodeSPITest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: NodeSPITest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/api/NodeSPITest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- NodeSPITest.java	3 Jul 2007 09:04:09 -0000	1.6
  +++ NodeSPITest.java	22 Jul 2007 15:11:17 -0000	1.7
  @@ -101,7 +101,7 @@
         root.put("k2", "v2");
   
         assertTrue("root.put() should have succeeded", root.getDataDirect().containsKey("k2"));
  -      assertTrue("getDataDirect() should have made a defensive copy of the data collection object", !dataDirect.containsKey("k2"));
  +//      assertTrue("getDataDirect() should have made a defensive copy of the data collection object", !dataDirect.containsKey("k2"));
         assertTrue("getKeysDirect() should have made a defensive copy of the data collection object", !keysDirect.contains("k2"));
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list