You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2002/06/29 11:42:57 UTC

cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka Validator.java

dion        2002/06/29 02:42:57

  Modified:    latka/src/java/org/apache/commons/latka Validator.java
  Log:
  Style violations
  
  Revision  Changes    Path
  1.8       +11 -12    jakarta-commons/latka/src/java/org/apache/commons/latka/Validator.java
  
  Index: Validator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/Validator.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Validator.java	11 Apr 2002 13:54:02 -0000	1.7
  +++ Validator.java	29 Jun 2002 09:42:57 -0000	1.8
  @@ -77,15 +77,14 @@
    */
   public interface Validator {
       
  -  /**
  -   * Run custom validation.  Latka will
  -   * provide the HTTP response to this method.  The implementer
  -   * should throw a ValidationException if the Response fails
  -   * to meet the validation criteria.
  -   *
  -   * @param response the HTTP response
  -   * @throws ValidationException if the Response fails to be valid
  -   */
  -  public abstract void validate(Response response)
  -    throws ValidationException;
  +    /**
  +     * Run custom validation.  Latka will
  +     * provide the HTTP response to this method.  The implementer
  +     * should throw a ValidationException if the Response fails
  +     * to meet the validation criteria.
  +     *
  +     * @param response the HTTP response
  +     * @throws ValidationException if the Response fails to be valid
  +     */
  +    abstract void validate(Response response) throws ValidationException;
   }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>