As an aside, do while is semantically much 'cleaner' as is while(boolean)
IMHO :)


On Fri, Oct 29, 2010 at 5:16 PM, marcusucubi <[email protected]> wrote:

> Hi,
>
> I had a loop (using a for(;;) {} ) in my GWT code.
>
> When I moved to 2.01, the loop acted weird. (the function with the
> loop would always return false, when true was also possible.)
>
> I changed the loop to a do{}while(true); loop and it worked fine.
>
> Sorry I don't have a sample code to demo, but I thought it might be
> helpful to share.  cheers,
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to