1.5 has lots of nifty features and I agree about using it too.
Regards,
Mert
On 5/9/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:
Yep, sorry, I work exclusively on Tiger/Java5/JDK 1.5 (whatever you
want to call it). I use generics, enum's and the new for loop a lot.
Good for me, maybe not so good for people who can't upgrade to it yet.
Makes me wonder what percentage of people are still on 1.4...
On 5/9/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> On 5/9/06, Andrew Robinson <[EMAIL PROTECTED] > wrote:
> > I have released that tomahawk tag handler in component form at:
> >
> > http://sourceforge.net/projects/jsf-comp/
> >
> > Download the tagHandlers release:
> > http://sourceforge.net/project/showfiles.php?group_id=137466&package_id=168411&release_id=368243
>
> Hey Andrew.
>
> I started using your handler about a week ago. One thing I noticed
> was that it seemed to have some unnecessary Java 1.5? code in it.
>
> I changed
>
> ================
> for (ActionListener listener : source.getActionListeners())
> {
> ================
>
> to
>
> ================
> ActionListener actionListeners[] = source.getActionListeners();
> for (int index = 0; index < actionListeners.length; ++index)
> {
> ActionListener listener = actionListeners[index];
> ================
>
> and it has been running great for me under Java 1.4.2.
>

