From 498214b5697c9822a0026592da07ab9583353d76 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Mon, 17 Nov 2014 15:57:40 +0000 Subject: [PATCH] HHH-9508 Avoid source syntax which doesn't work in Eclipse --- .../src/main/java/org/hibernate/engine/spi/ActionQueue.java | 2 +- .../test/java/org/hibernate/test/cache/HibernateCacheTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java index fc0b1df9f1..7191d23405 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java @@ -131,7 +131,7 @@ public class ActionQueue { orphanRemovals = new ExecutableList(); // Important: these lists are in execution order - List> tmp = Arrays.asList( + List> tmp = Arrays.>asList( orphanRemovals, insertions, updates, diff --git a/hibernate-ehcache/src/test/java/org/hibernate/test/cache/HibernateCacheTest.java b/hibernate-ehcache/src/test/java/org/hibernate/test/cache/HibernateCacheTest.java index a8244b3ef1..6b87619595 100644 --- a/hibernate-ehcache/src/test/java/org/hibernate/test/cache/HibernateCacheTest.java +++ b/hibernate-ehcache/src/test/java/org/hibernate/test/cache/HibernateCacheTest.java @@ -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.notNullValue() ); + assertThat( slcs, CoreMatchers.notNullValue() ); final Map entries = slcs.getEntries(); Object entry = entries.get( item.getId() ); Long cachedVersionValue;