Author: hardy.ferentschik
Date: 2008-06-19 12:32:39 -0400 (Thu, 19 Jun 2008)
New Revision: 14789
Modified:
annotations/trunk/src/test/org/hibernate/test/annotations/onetomany/OneToManyTest.java
Log:
Code and import cleanup.
Modified:
annotations/trunk/src/test/org/hibernate/test/annotations/onetomany/OneToManyTest.java
===================================================================
---
annotations/trunk/src/test/org/hibernate/test/annotations/onetomany/OneToManyTest.java 2008-06-19
16:23:58 UTC (rev 14788)
+++
annotations/trunk/src/test/org/hibernate/test/annotations/onetomany/OneToManyTest.java 2008-06-19
16:32:39 UTC (rev 14789)
@@ -7,7 +7,6 @@
import java.util.List;
import java.util.SortedSet;
import java.util.TreeSet;
-import java.util.Set;
import org.hibernate.Hibernate;
import org.hibernate.HibernateException;
@@ -25,6 +24,7 @@
*
* @author Emmanuel Bernard
*/
+@SuppressWarnings("unchecked")
public class OneToManyTest extends TestCase {
public OneToManyTest(String x) {
@@ -395,7 +395,7 @@
s.persist( org );
s.flush();
s.clear();
- List l = s.createQuery( "select org from Organisation org left join fetch
org.organisationUsers" ).list();
+ s.createQuery( "select org from Organisation org left join fetch
org.organisationUsers" ).list();
s.getTransaction().rollback();
s.close();
}
Show replies by date