You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by lm...@apache.org on 2001/07/31 19:36:08 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/validators/common AllContentModel.java

lmartin     01/07/31 10:36:08

  Modified:    java/src/org/apache/xerces/validators/common
                        AllContentModel.java
  Log:
  Applied a change from Henry Zongaro fixing a typo which was causing unnecessary growing of a table
  
  Revision  Changes    Path
  1.4       +1 -1      xml-xerces/java/src/org/apache/xerces/validators/common/AllContentModel.java
  
  Index: AllContentModel.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/common/AllContentModel.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AllContentModel.java	2001/06/20 20:54:35	1.3
  +++ AllContentModel.java	2001/07/31 17:36:07	1.4
  @@ -112,7 +112,7 @@
           }
   
           // Need to resize arrays?
  -        if (fNumElements < fAllElements.length) {
  +        if (fNumElements >= fAllElements.length) {
               QName newAllElements[] = new QName[2*fAllElements.length];
               boolean newIsOptionalElements[] =
                                         new boolean[2*fIsOptionalElement.length];
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org