mirror of https://github.com/apache/openjpa.git
remove closeEM() as AbstractPersistenceTestCase now provides it
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e175b242f9
commit
660fa547d6
|
@ -634,13 +634,6 @@ public class TestDetachMerge extends SingleEMFTestCase {
|
||||||
return myEMF.createEntityManager();
|
return myEMF.createEntityManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void closeEM(EntityManager em) {
|
|
||||||
if (em != null) {
|
|
||||||
em.close();
|
|
||||||
em = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void assertEqual(IAnnuityHolder annuityHolder, IAnnuityHolder results, String string, String string2)
|
private void assertEqual(IAnnuityHolder annuityHolder, IAnnuityHolder results, String string, String string2)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
if (annuityHolder == null && results == null)
|
if (annuityHolder == null && results == null)
|
||||||
|
|
Loading…
Reference in New Issue