Skip to content
Snippets Groups Projects
Commit 19804de9 authored by felmer's avatar felmer
Browse files

SSDM-1191: do not throw an exception in...

SSDM-1191: do not throw an exception in ServiceProviderTestWrapper.restoreApplicationContext() if cached application context is undefined.

SVN: 33352
parent 3929d0bd
No related branches found
No related tags found
No related merge requests found
......@@ -74,8 +74,7 @@ public class ServiceProviderTestWrapper
{
if (cachedApplicationContext == null)
{
throw new IllegalStateException("Undefined cached application context. "
+ "Most likely reason: Missing invocation of ServiceProviderTestWrapper.setApplicationContext().");
return;
}
ServiceProvider.setBeanFactory(cachedApplicationContext);
cachedApplicationContext = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment