Skip to content

Commit

Permalink
2 lines of code to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Jan 14, 2010
1 parent ada7ef4 commit 74157f4
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -60,8 +60,7 @@ public SymmetricEngineContextLoaderListener(ISymmetricEngine engine) {
final public void contextInitialized(ServletContextEvent event) {
try {
super.contextInitialized(event);
ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(event.getServletContext());
createConfigureAndStartEngine(ctx);
createConfigureAndStartEngine(WebApplicationContextUtils.getWebApplicationContext(event.getServletContext()));
} catch (Exception ex) {
log.error("WebServerInitializeError", ex);
if (ex instanceof RuntimeException) {
Expand Down

0 comments on commit 74157f4

Please sign in to comment.