GWT overlay types accesing keywords -


The following code is not working because "default" is a javascript keyword. Is this an easy way to decide? I want to avoid renaming on the server side.

  Public Ultimate Boolean getDefault () / * - {return.default; } - * /;  

> Use array access instead of variable access:

  return this ['default'];  

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -