[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:
parent
766a044dc3
commit
304af4d4e2
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue