cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From step...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/components/validation Violation.java
Date Mon, 12 May 2003 13:23:58 GMT
stephan     2003/05/12 06:23:58

  Modified:    src/blocks/xmlform/java/org/apache/cocoon/components/validation
                        Violation.java
  Log:
  Add constructor.
  
  Revision  Changes    Path
  1.3       +12 -5     cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/components/validation/Violation.java
  
  Index: Violation.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/components/validation/Violation.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Violation.java	26 Apr 2003 12:10:43 -0000	1.2
  +++ Violation.java	12 May 2003 13:23:58 -0000	1.3
  @@ -60,6 +60,17 @@
    */
   public class Violation implements Comparable {
   
  +    private String xpath_;
  +    private String message_;
  +
  +    public Violation() {
  +    }
  +
  +    public Violation(String xpath, String message) {
  +        setPath(xpath);
  +        setMessage(message);
  +    }
  +
       /**
        * @return the XPath location of the Violation
        */
  @@ -143,8 +154,4 @@
               }
           }
       }
  -
  -    private String xpath_;
  -    private String message_;
  -
   }
  
  
  

Mime
View raw message