struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlel...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/validator ValidatorForm.java
Date Thu, 01 May 2003 17:47:55 GMT
rleland     2003/05/01 10:47:55

  Modified:    src/share/org/apache/struts/validator ValidatorForm.java
  Log:
  deprecate logging methods and indicate that
  common-logging should be used.
  
  Revision  Changes    Path
  1.9       +6 -4      jakarta-struts/src/share/org/apache/struts/validator/ValidatorForm.java
  
  Index: ValidatorForm.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/validator/ValidatorForm.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ValidatorForm.java	8 Nov 2002 19:46:35 -0000	1.8
  +++ ValidatorForm.java	1 May 2003 17:47:55 -0000	1.9
  @@ -163,6 +163,7 @@
        * servlet log file.
        *
        * @param   message     String that describes the error or exception
  +     * @deprecated Use common-logging to log debug messages.
        */
       protected void log(String message) {
           if (getServlet().getDebug() >= 1) {
  @@ -177,6 +178,7 @@
        *
        * @param   message     String that describes the error or exception
        * @param   throwable   Throwable error or exception
  +     * @deprecated Use common-logging to log debug messages.
        */
       protected void log(String message, Throwable throwable) {
           if (getServlet().getDebug() >= 1) {
  
  
  

---------------------------------------------------------------------
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