You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ma...@apache.org on 2004/03/12 02:33:05 UTC

cvs commit: jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts StrutsUtils.java

marino      2004/03/11 17:33:05

  Modified:    src/java/org/apache/velocity/tools/struts StrutsUtils.java
  Log:
  minor cleanup and javadoc fix
  
  Revision  Changes    Path
  1.16      +4 -6      jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/StrutsUtils.java
  
  Index: StrutsUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/StrutsUtils.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- StrutsUtils.java	18 Feb 2004 20:09:51 -0000	1.15
  +++ StrutsUtils.java	12 Mar 2004 01:33:05 -0000	1.16
  @@ -21,7 +21,6 @@
   import java.util.Iterator;
   
   import javax.servlet.ServletContext;
  -import javax.servlet.http.HttpServlet;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpSession;
   import javax.sql.DataSource;
  @@ -40,7 +39,6 @@
   import org.apache.struts.util.RequestUtils;
   
   /* deprecated imports */
  -import org.apache.struts.action.ActionFormBean;
   import org.apache.struts.action.ActionFormBeans;
   import org.apache.struts.action.ActionForward;
   import org.apache.struts.action.ActionForwards;
  @@ -395,7 +393,7 @@
                                              HttpSession session)
       {
           /* Is there a mapping associated with this request? */
  -        ActionConfig mapping = 
  +        ActionConfig mapping =
               (ActionConfig)request.getAttribute(Globals.MAPPING_KEY);
           if (mapping == null)
           {
  @@ -503,7 +501,7 @@
           }
   
           /* Use our servlet mapping, if one is specified */
  -        String servletMapping = 
  +        String servletMapping =
               (String)application.getAttribute(Globals.SERVLET_KEY);
   
           if (servletMapping != null)
  @@ -659,7 +657,7 @@
           String footer = null;
           Locale locale = getLocale(request, session);
   
  -        MessageResources resources = 
  +        MessageResources resources =
               getMessageResources(request, application, bundle);
           if (resources != null)
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org