I did, it's ValidWhen.g. James
> -----Original Message----- > From: Rob Leland [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 27, 2003 5:19 PM > To: Struts Developers List > Subject: Re: [validator - ValidWhen ] Bug or unneeded variable. > > > James Turner wrote: > > >It's auto-generated code, so you can talk to the ANTLR folks if you > >want > >:-) > > > > > > Did you check in the files to CVS that were used to generate > the .java > files, or could you ? > > > -Rob > > >James > > > > > > > >>-----Original Message----- > >>From: Rob Leland [mailto:[EMAIL PROTECTED] > >>Sent: Sunday, July 27, 2003 1:17 AM > >>To: Struts Developers List > >>Subject: [validator - ValidWhen ] Bug or unneeded variable. > >> > >> > >>James: > >> > >>The variable 'theRetToken' is assigned but never used in > >>method nextToken() Instead _returnToken is always returned. > >> > >>So it appears that theRetToken is unneeded, or this is a bug. > >> > >>Also the method mWS() > >> > >>on line 272: > >> _ttype = Token.SKIP; > >> if ( _createToken && _token==null && _ttype!=Token.SKIP ) { > >> } > >>so the if statement will never be executed. > >> > >> > >> > >>-- > >>Rob Leland > >> > >> > >> > > > > > > > -- > Rob Leland > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]