rleland 2002/10/14 09:33:00 Modified: src/share/org/apache/struts/util StrutsValidatorUtil.java Log: Remove deprecated methods that were in struts 1.1b1. Revision Changes Path 1.6 +5 -33 jakarta-struts/src/share/org/apache/struts/util/StrutsValidatorUtil.java Index: StrutsValidatorUtil.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/StrutsValidatorUtil.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- StrutsValidatorUtil.java 11 Oct 2002 22:17:51 -0000 1.5 +++ StrutsValidatorUtil.java 14 Oct 2002 16:32:59 -0000 1.6 @@ -109,7 +109,7 @@ /** * Retrieve <code>ValidatorResources</code> for the module. * - * @deprecated This method can only return the resources for the default + * @deprecated In Struts 1.1b3 This method can only return the resources for the default * module. Use getValidatorResources(HttpServletRequest, ServletContext) * to get the resources for the current application module. */ @@ -262,34 +262,6 @@ return new String[] { sArg0, sArg1, sArg2, sArg3 }; - } - - /** - * Writes a message based on the <code>Writer</code> defined in <code>MessageResources</code>. - * - * @deprecated This method can only return the resources for the default - * module. Use Commons Logging package instead. - */ - public static void log(ServletContext application, String message) { - MessageResources messages = getMessageResources(application); - - if (messages != null) { - messages.log(message); - } - } - - /** - * Writes a message based on the <code>Writer</code> defined in <code>MessageResources</code>. - * - * @deprecated This method can only return the resources for the default - * module. Use Commons Logging package instead. - */ - public static void log(ServletContext application, String message, Throwable t) { - MessageResources messages = getMessageResources(application); - - if (messages != null) { - messages.log(message, t); - } } /**
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>