[hibernate-commits] Hibernate SVN: r17728 - core/trunk/cache-jbosscache/src/test/java/org/hibernate/test/cache/jbc/collection.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Oct 13 12:35:42 EDT 2009


Author: bstansberry at jboss.com
Date: 2009-10-13 12:35:41 -0400 (Tue, 13 Oct 2009)
New Revision: 17728

Modified:
   core/trunk/cache-jbosscache/src/test/java/org/hibernate/test/cache/jbc/collection/CollectionRegionImplTestCase.java
Log:
[HHH-3817] Remove unneeded get()

Modified: core/trunk/cache-jbosscache/src/test/java/org/hibernate/test/cache/jbc/collection/CollectionRegionImplTestCase.java
===================================================================
--- core/trunk/cache-jbosscache/src/test/java/org/hibernate/test/cache/jbc/collection/CollectionRegionImplTestCase.java	2009-10-13 16:13:54 UTC (rev 17727)
+++ core/trunk/cache-jbosscache/src/test/java/org/hibernate/test/cache/jbc/collection/CollectionRegionImplTestCase.java	2009-10-13 16:35:41 UTC (rev 17728)
@@ -105,8 +105,8 @@
     @Override
     protected void putInRegion(Region region, Object key, Object value) {
         CollectionRegionAccessStrategy strategy = ((CollectionRegion) region).buildAccessStrategy(AccessType.TRANSACTIONAL);
-        // putFromLoad is ignored if not preceded by a get, so do a get
-        strategy.get(key, System.currentTimeMillis());
+//        // putFromLoad is ignored if not preceded by a get, so do a get
+//        strategy.get(key, System.currentTimeMillis());
         strategy.putFromLoad(key, value, System.currentTimeMillis(), new Integer(1));
     }
 



More information about the hibernate-commits mailing list