cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ive...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/xmlform Form.java
Date Sat, 20 Jul 2002 03:11:16 GMT
ivelin      2002/07/19 20:11:15

  Modified:    src/java/org/apache/cocoon/components/xmlform Form.java
  Log:
  fix, provided by
  michael_hampel@sonynetservices.com
  
  Revision  Changes    Path
  1.7       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/xmlform/Form.java
  
  Index: Form.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/xmlform/Form.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Form.java	15 Jul 2002 13:39:18 -0000	1.6
  +++ Form.java	20 Jul 2002 03:11:15 -0000	1.7
  @@ -180,11 +180,11 @@
      * 
      * @param newViolations
      *   
  -   */
  +   */ 
     public void addViolations( List newViolations )
     {
     	   
  -    if (violations_ == null) violations_.addAll( newViolations );
  +    if (violations_ != null) violations_.addAll( newViolations );
       else violations_ = newViolations;
       updateViolationsAsSortedSet();
       
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message