HHH-9508 Avoid source syntax which doesn't work in Eclipse
This commit is contained in:
parent
82b376c5f6
commit
498214b569
|
@ -131,7 +131,7 @@ public class ActionQueue {
|
||||||
orphanRemovals = new ExecutableList<OrphanRemovalAction>();
|
orphanRemovals = new ExecutableList<OrphanRemovalAction>();
|
||||||
|
|
||||||
// Important: these lists are in execution order
|
// Important: these lists are in execution order
|
||||||
List<ExecutableList<?>> tmp = Arrays.asList(
|
List<ExecutableList<?>> tmp = Arrays.<ExecutableList<?>>asList(
|
||||||
orphanRemovals,
|
orphanRemovals,
|
||||||
insertions,
|
insertions,
|
||||||
updates,
|
updates,
|
||||||
|
|
|
@ -154,7 +154,7 @@ public class HibernateCacheTest extends BaseCoreFunctionalTestCase {
|
||||||
// check the version value in the cache...
|
// check the version value in the cache...
|
||||||
SecondLevelCacheStatistics slcs = sessionFactory().getStatistics()
|
SecondLevelCacheStatistics slcs = sessionFactory().getStatistics()
|
||||||
.getSecondLevelCacheStatistics( REGION_PREFIX + VersionedItem.class.getName() );
|
.getSecondLevelCacheStatistics( REGION_PREFIX + VersionedItem.class.getName() );
|
||||||
assertThat( slcs, CoreMatchers.<Object>notNullValue() );
|
assertThat( slcs, CoreMatchers.notNullValue() );
|
||||||
final Map entries = slcs.getEntries();
|
final Map entries = slcs.getEntries();
|
||||||
Object entry = entries.get( item.getId() );
|
Object entry = entries.get( item.getId() );
|
||||||
Long cachedVersionValue;
|
Long cachedVersionValue;
|
||||||
|
|
Loading…
Reference in New Issue