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/util StrutsValidator.java
Date Thu, 01 May 2003 16:03:35 GMT
rleland     2003/05/01 09:03:35

  Modified:    src/share/org/apache/struts/util StrutsValidator.java
  Log:
  Set FIELD_TEST_XXX equal to FieldChecks.FIELD_TEST_XXX
  Since StrutsValidator is deprecated.
  
  Revision  Changes    Path
  1.15      +4 -3      jakarta-struts/src/share/org/apache/struts/util/StrutsValidator.java
  
  Index: StrutsValidator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/StrutsValidator.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- StrutsValidator.java	25 Feb 2003 04:58:30 -0000	1.14
  +++ StrutsValidator.java	1 May 2003 16:03:34 -0000	1.15
  @@ -62,6 +62,7 @@
   import org.apache.commons.validator.Field;
   import org.apache.commons.validator.ValidatorAction;
   import org.apache.struts.action.ActionErrors;
  +import org.apache.struts.validator.FieldChecks;
   
   /**
    *  <p>
  @@ -84,9 +85,9 @@
       /**
        *  Commons Logging instance.
        */
  -    public final static String FIELD_TEST_NULL = "NULL";
  -    public final static String FIELD_TEST_NOTNULL = "NOTNULL";
  -    public final static String FIELD_TEST_EQUAL = "EQUAL";
  +    public final static String FIELD_TEST_NULL = FieldChecks.FIELD_TEST_NULL;
  +    public final static String FIELD_TEST_NOTNULL = FieldChecks.FIELD_TEST_NOTNULL;
  +    public final static String FIELD_TEST_EQUAL = FieldChecks.FIELD_TEST_EQUAL;
   
   
       /**
  
  
  

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