Re: Switch on String shouldn't this work in GWT 2.6 / Java 7 ?

2014-01-28 Thread Thomas Wrobel
Ah, Bingo...it was either down to not clearing the cache's, or the fact a non-GWT 2.6 project was being inherited in. Fixing both of those and it works. *goes of to enjoy Java7* ~~~ Thomas & Bertines online review show: http://randomreviewshow.com/index.html Try it! You might even feel ambivalent

Re: Switch on String shouldn't this work in GWT 2.6 / Java 7 ?

2014-01-28 Thread Jens
> > Have I somehow setup GWT 2.6 wrongly? > Using switch() with strings works in GWT 2.6. I guess you have to double check your setup. Maybe you have used an old run configuration that is not up-to-date? -- J. -- You received this message because you are subscribed to the Google Groups "Go

Switch on String shouldn't this work in GWT 2.6 / Java 7 ?

2014-01-28 Thread darkflame
Something like ; switch (book) { case "Harry Potter": break; case "Hitch Hikers Guide To The Galaxy": break; Should now work with the latest GWT from here; https://code.google.com/p/google-web-toolkit/downloads/list Correct? Because I am still getting a " [ERROR] Line 1971: Cannot switch