Author: nbubna
Date: Thu Aug  9 17:00:23 2007
New Revision: 564436

URL: http://svn.apache.org/viewvc?view=rev&rev=564436
Log:
remove unneeded method param (PMD)

Modified:
    
velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/SecureLinkTool.java

Modified: 
velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/SecureLinkTool.java
URL: 
http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/SecureLinkTool.java?view=diff&rev=564436&r1=564435&r2=564436
==============================================================================
--- 
velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/SecureLinkTool.java
 (original)
+++ 
velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/SecureLinkTool.java
 Thu Aug  9 17:00:23 2007
@@ -131,7 +131,7 @@
             String linkString = url.toString().substring(contextPath.length());
 
             // See if link references an action somewhere in our app
-            SecureActionConfig secureConfig = getActionConfig(request, app, 
linkString);
+            SecureActionConfig secureConfig = getActionConfig(app, linkString);
 
             // If link is an action, find the desired port and scheme
             if (secureConfig != null &&
@@ -168,17 +168,14 @@
     /**
      * Finds the configuration definition for the specified action link
      *
-     * @param request the current request.
      * @param app the current ServletContext.
      * @param linkString The action we are searching for, specified as a
      *        link. (i.e. may include "..")
      * @return The SecureActionConfig object entry for this action,
      *         or null if not found
      */
-    private static SecureActionConfig getActionConfig(HttpServletRequest
-            request,
-            ServletContext app,
-            String linkString)
+    private static SecureActionConfig getActionConfig(ServletContext app,
+                                                      String linkString)
     {
         ModuleConfig moduleConfig = StrutsUtils.selectModule(linkString, app);
 


Reply via email to