HHH-9508 Avoid source syntax which doesn't work in Eclipse
This commit is contained in:
parent
439ec92627
commit
3aa2b8dfec
|
@ -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