SH Solutions wrote:

Hi



You already had declared another List named "values" just a few lines


above, as shown in the edited version below:

Though it should work, since the second "values" is in another scope.

Regards,
Steffen


It is correct behaviour to display a warning, since your first "values" variable can't be used in the nested block. As such it is not an error, and thus can be shut down in eclipse (and javac/jikes/JDT or whatever compiler you are using).

Regards,
Sjoerd


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



Reply via email to