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 82b376c5f6
commit 498214b569
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ public class ActionQueue {
orphanRemovals = new ExecutableList<OrphanRemovalAction>();
// Important: these lists are in execution order
List<ExecutableList<?>> tmp = Arrays.asList(
List<ExecutableList<?>> tmp = Arrays.<ExecutableList<?>>asList(
orphanRemovals,
insertions,
updates,

View File

@ -154,7 +154,7 @@ public class HibernateCacheTest extends BaseCoreFunctionalTestCase {
// check the version value in the cache...
SecondLevelCacheStatistics slcs = sessionFactory().getStatistics()
.getSecondLevelCacheStatistics( REGION_PREFIX + VersionedItem.class.getName() );
assertThat( slcs, CoreMatchers.<Object>notNullValue() );
assertThat( slcs, CoreMatchers.notNullValue() );
final Map entries = slcs.getEntries();
Object entry = entries.get( item.getId() );
Long cachedVersionValue;