From c943285bbd15855086f50969e605f377b68d9cb7 Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Tue, 13 Mar 2012 23:19:08 +0800 Subject: [PATCH] HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6) --- .../test/cache/infinispan/functional/ConcurrentWriteTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/ConcurrentWriteTest.java b/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/ConcurrentWriteTest.java index 640f972d4f..d4a1ed4190 100644 --- a/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/ConcurrentWriteTest.java +++ b/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/ConcurrentWriteTest.java @@ -161,6 +161,7 @@ public class ConcurrentWriteTest extends SingleNodeTestCase { @Test public void testSingleUser() throws Exception { // setup +sessionFactory().getStatistics().clear(); Customer customer = createCustomer( 0 ); final Integer customerId = customer.getId(); getCustomerIDs().add( customerId );