Inlined destroyContext method.

This commit is contained in:
Luke Taylor 2008-02-15 17:07:53 +00:00
parent 48e2d5ad62
commit 503e426707
1 changed files with 1 additions and 5 deletions

View File

@ -71,10 +71,6 @@ public class GetAllContactsTests extends AbstractTransactionalSpringContextTests
}
}
private static void destroySecureContext() {
SecurityContextHolder.clearContext();
}
protected String[] getConfigLocations() {
setAutowireMode(AutowireCapableBeanFactory.AUTOWIRE_BY_NAME);
@ -125,7 +121,7 @@ public class GetAllContactsTests extends AbstractTransactionalSpringContextTests
}
protected void onTearDownInTransaction() {
destroySecureContext();
SecurityContextHolder.clearContext();
}
public void setContactManager(ContactManager contactManager) {