]> source.dussan.org Git - archiva.git/commitdiff
Fixing method argument names
authorJames William Dumay <jdumay@apache.org>
Mon, 27 Oct 2008 08:53:36 +0000 (08:53 +0000)
committerJames William Dumay <jdumay@apache.org>
Mon, 27 Oct 2008 08:53:36 +0000 (08:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@708110 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/startup/ArchivaStartup.java

index 1cb8fe56f467096ea2821b09d56a211621e4899e..de15ed86ae82eb0f48e4520e30ba1eb6ddd33cff 100644 (file)
@@ -38,11 +38,8 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
 public class ArchivaStartup
     implements ServletContextListener
 {
-    public void contextDestroyed(ServletContextEvent arg0) {
-    }
-
-    public void contextInitialized(ServletContextEvent arg0) {
-        WebApplicationContext wac =  WebApplicationContextUtils.getRequiredWebApplicationContext(arg0.getServletContext());
+    public void contextInitialized(ServletContextEvent contextEvent) {
+        WebApplicationContext wac =  WebApplicationContextUtils.getRequiredWebApplicationContext(contextEvent.getServletContext());
         
         SecuritySynchronization securitySync = (SecuritySynchronization) wac.getBean(PlexusToSpringUtils.buildSpringId(SecuritySynchronization.class));
         ResolverFactoryInit resolverFactory = (ResolverFactoryInit) wac.getBean(PlexusToSpringUtils.buildSpringId(ResolverFactoryInit.class));
@@ -64,4 +61,6 @@ public class ArchivaStartup
         }
     }
 
+    public void contextDestroyed(ServletContextEvent contextEvent) {
+    }
 }