struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/action Action.java
Date Fri, 04 Jul 2003 21:27:24 GMT
dgraham     2003/07/04 14:27:24

  Modified:    src/share/org/apache/struts/action Action.java
  Log:
  Removed deprecated getResources() method.
  
  Revision  Changes    Path
  1.64      +4 -24     jakarta-struts/src/share/org/apache/struts/action/Action.java
  
  Index: Action.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/Action.java,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- Action.java	4 Jul 2003 21:23:12 -0000	1.63
  +++ Action.java	4 Jul 2003 21:27:24 -0000	1.64
  @@ -61,11 +61,9 @@
   
   package org.apache.struts.action;
   
  -import java.io.IOException;
   import java.util.Locale;
   
   import javax.servlet.ServletContext;
  -import javax.servlet.ServletException;
   import javax.servlet.ServletRequest;
   import javax.servlet.ServletResponse;
   import javax.servlet.http.HttpServletRequest;
  @@ -305,22 +303,6 @@
   
       }
   
  -
  -    /**
  -     * Return the message resources for the default module.
  -     *
  -     * @deprecated This method can only return the resources for the default
  -     *  module.  Use getResources(HttpServletRequest) to get the
  -     *  resources for the current module.
  -     */
  -    protected MessageResources getResources() {
  -
  -        return ((MessageResources)
  -                servlet.getServletContext().getAttribute(Globals.MESSAGES_KEY));
  -
  -    }
  -
  -
       /**
        * Return the default message resources for the current module.
        *
  @@ -332,8 +314,6 @@
           return ((MessageResources) request.getAttribute(Globals.MESSAGES_KEY));
   
       }
  -
  -
   
       /**
        * Return the specified message resources for the current module.
  
  
  

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


Mime
View raw message