commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morg...@apache.org
Subject cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/validators BaseValidator.java
Date Thu, 02 May 2002 22:09:53 GMT
morgand     02/05/02 15:09:52

  Modified:    latka/src/java/org/apache/commons/latka/validators
                        BaseValidator.java
  Log:
  allowing a validator to fail without a message seemed like a non-feature
  
  Revision  Changes    Path
  1.8       +1 -5      jakarta-commons/latka/src/java/org/apache/commons/latka/validators/BaseValidator.java
  
  Index: BaseValidator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/validators/BaseValidator.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BaseValidator.java	11 Apr 2002 13:46:25 -0000	1.7
  +++ BaseValidator.java	2 May 2002 22:09:52 -0000	1.8
  @@ -71,7 +71,7 @@
   /**
    * @author Rodney Waldhoff
    * @author dIon Gillard
  - * @version $Id: BaseValidator.java,v 1.7 2002/04/11 13:46:25 dion Exp $
  + * @version $Id: BaseValidator.java,v 1.8 2002/05/02 22:09:52 morgand Exp $
    */
   public abstract class BaseValidator implements Validator {
       // ------------------------------------------------------- Instance Variables 
  @@ -102,10 +102,6 @@
   
       public String getLabel() {
           return _label;
  -    }
  -
  -    protected void fail() throws ValidationException  {
  -        fail(null);
       }
   
       protected void fail(String reason) throws ValidationException {
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message