mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 09:05:21 +00:00
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 ActionQueue(SessionImplementor session) {
|
||||
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,
|
||||
|
@ -154,7 +154,7 @@ public void testStaleWritesLeaveCacheConsistent() {
|
||||
// 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user