webwork/src/main/webwork/util Query.java,1.13,1.14
[email protected] Thu, 23 May 2002 19:22:26 -0700
| Newsgroups | gmane.comp.java.webwork.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/webwork/webwork/src/main/webwork/util In directory usw-pr-cvs1:/tmp/cvs-serv22147 Modified Files: Query.java Log Message: merged in Tom's patch Index: Query.java =================================================================== RCS file: /cvsroot/webwork/webwork/src/main/webwork/util/Query.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- Query.java 26 Apr 2002 19:30:27 -0000 1.13 +++ Query.java 24 May 2002 02:22:24 -0000 1.14 @@ -10,11 +10,11 @@ import java.util.Map; /** - * ValueStack Query. This class parsers the ValueStack Query string + * ValueStack Query. This class parsers the ValueStack Query string * and caches the parsed query. * * @author Maurice C. Parker ([email protected]) - * @version $Revision$ + * @version $Revision$ */ public class Query { // Static ------------------------------------------------------- @@ -373,7 +373,7 @@ * Add another segment to the segments array. */ private void add(QuerySegment qs) { - if (segmentsIdx == segments.length) { + if (segmentsIdx == segments.length-1) { QuerySegment[] resize = new QuerySegment[segments.length + 5]; System.arraycopy(segments, 0, resize, 0, segments.length); segments = resize; _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm