You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by georgex <ge...@yahoo.com> on 2010/05/09 11:53:22 UTC
Java 5 in Click - after generics, 'foreach' loops?
I see that Click is moving to Java 5 by upgrading to generics (and some
varargs).
What about upgrading to 'foreach' loops too? - makes the code cleaner and
smaller in many cases !
Any plans for it? Or are there any reasons against it?
Thanks,
George.
--
View this message in context: http://click.1134972.n2.nabble.com/Java-5-in-Click-after-generics-foreach-loops-tp5026038p5026038.html
Sent from the click-development mailing list archive at Nabble.com.
Re: Java 5 in Click - after generics, 'foreach' loops?
Posted by Bob Schellink <sa...@gmail.com>.
Hi Adrian,
Good job on the generic work. As our resident generic expert would you mind taking a look at
CLK-609[1] for 2.2.0 final?
Kind regards
Bob
[1]: https://issues.apache.org/jira/browse/CLK-609
On 10/05/2010 23:29, Adrian A. wrote:
>> What about upgrading to 'foreach' loops too? - makes the code cleaner and
>> smaller in many cases !
>> Any plans for it?
> Yes, the code will be updated gradually to foreach, autoboxing, and
> other java 5 features that make sense (a part of the code already does).
>
> If you find more cases that might need improved, please feel free to
> mention them on this list or in the WIKI (there are also some proposals
> there waiting for user feedback).
>
> Adrian.
>
>
>
Re: Java 5 in Click - after generics, 'foreach' loops?
Posted by "Adrian A." <a....@gmail.com>.
> What about upgrading to 'foreach' loops too? - makes the code cleaner and
> smaller in many cases !
> Any plans for it?
Yes, the code will be updated gradually to foreach, autoboxing, and
other java 5 features that make sense (a part of the code already does).
If you find more cases that might need improved, please feel free to
mention them on this list or in the WIKI (there are also some proposals
there waiting for user feedback).
Adrian.