HHH-9508 Avoid source syntax which doesn't work in Eclipse

This commit is contained in:
Sanne Grinovero 2014-11-17 15:57:40 +00:00
parent 439ec92627
commit 3aa2b8dfec
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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;