[HHH-3817] Remove unneeded get()

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17728 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Brian Stansberry 2009-10-13 16:35:41 +00:00
parent 766a044dc3
commit 304af4d4e2
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ public class CollectionRegionImplTestCase extends AbstractEntityCollectionRegion
@Override @Override
protected void putInRegion(Region region, Object key, Object value) { protected void putInRegion(Region region, Object key, Object value) {
CollectionRegionAccessStrategy strategy = ((CollectionRegion) region).buildAccessStrategy(AccessType.TRANSACTIONAL); CollectionRegionAccessStrategy strategy = ((CollectionRegion) region).buildAccessStrategy(AccessType.TRANSACTIONAL);
// putFromLoad is ignored if not preceded by a get, so do a get // // putFromLoad is ignored if not preceded by a get, so do a get
strategy.get(key, System.currentTimeMillis()); // strategy.get(key, System.currentTimeMillis());
strategy.putFromLoad(key, value, System.currentTimeMillis(), new Integer(1)); strategy.putFromLoad(key, value, System.currentTimeMillis(), new Integer(1));
} }