You already had declared another List named "values" just a few lines
above, as shown in the edited version below:

On Sat, 11 Sep 2004 19:47:46 -0700, Jack Lauman <[EMAIL PROTECTED]> wrote:
> I have the following piece of code that changes a password.  Eclipse
> gives the following
> error message for line 11: duplicate local variable 'values'
>
>       List values = new ArrayList();
>       if(res != null && res.getRowCount() > 0)
>          {
>             List values = new ArrayList();             <<< Error
> duplicate local variable 'values'

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to