From 4ee980d9ff4d93556d7050e98aa0443052750db3 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Wed, 22 May 2013 11:12:31 -0500 Subject: [PATCH] HHH-8211 - Checkstyle and FindBugs fix-ups --- .../test/java/org/hibernate/test/hql/TupleSupportTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/TupleSupportTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/TupleSupportTest.java index 5e962a1638..f8f4639a61 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/TupleSupportTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/TupleSupportTest.java @@ -30,6 +30,7 @@ import javax.persistence.Id; import java.util.Collections; +import org.hibernate.Filter; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.AvailableSettings; @@ -98,7 +99,7 @@ public class TupleSupportTest extends BaseUnitTestCase { public void testImplicitTupleNotEquals() { final String hql = "from TheEntity e where e.compositeValue <> :p1"; HQLQueryPlan queryPlan = ( (SessionFactoryImplementor) sessionFactory ).getQueryPlanCache() - .getHQLQueryPlan( hql, false, Collections.emptyMap() ); + .getHQLQueryPlan( hql, false, Collections.emptyMap() ); assertEquals( 1, queryPlan.getSqlStrings().length ); System.out.println( " SQL : " + queryPlan.getSqlStrings()[0] ); @@ -109,7 +110,7 @@ public class TupleSupportTest extends BaseUnitTestCase { public void testImplicitTupleNotInList() { final String hql = "from TheEntity e where e.compositeValue not in (:p1,:p2)"; HQLQueryPlan queryPlan = ( (SessionFactoryImplementor) sessionFactory ).getQueryPlanCache() - .getHQLQueryPlan( hql, false, Collections.emptyMap() ); + .getHQLQueryPlan( hql, false, Collections.emptyMap() ); assertEquals( 1, queryPlan.getSqlStrings().length ); System.out.println( " SQL : " + queryPlan.getSqlStrings()[0] );