archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdu...@apache.org
Subject svn commit: r708110 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/startup/ArchivaStartup.java
Date Mon, 27 Oct 2008 08:53:37 GMT
Author: jdumay
Date: Mon Oct 27 01:53:36 2008
New Revision: 708110

URL: http://svn.apache.org/viewvc?rev=708110&view=rev
Log:
Fixing method argument names

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

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/startup/ArchivaStartup.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/startup/ArchivaStartup.java?rev=708110&r1=708109&r2=708110&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/startup/ArchivaStartup.java
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/startup/ArchivaStartup.java
Mon Oct 27 01:53:36 2008
@@ -38,11 +38,8 @@
 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 void contextDestroyed(ServletContextEvent contextEvent) {
+    }
 }



Mime
View raw message