diff --git a/hibernate-core/src/test/java/org/hibernate/test/legacy/MasterDetailTest.java b/hibernate-core/src/test/java/org/hibernate/test/legacy/MasterDetailTest.java index 68ff03196a..432558998c 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/legacy/MasterDetailTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/legacy/MasterDetailTest.java @@ -969,7 +969,7 @@ public class MasterDetailTest extends LegacyTestCase { @Test public void testCustomPersister() throws Exception { Session s = openSession(); - Custom c = c = new Custom(); + Custom c = new Custom(); c.setName( "foo" ); c.id="100"; s.beginTransaction();