Tuesday, April 29, 2014

Re: Supersourcing own clode and maintenance



On Tuesday, April 29, 2014 10:48:09 AM UTC+2, Jens wrote:
Hm for simple things there is now @GwtIncompatible. Anything annotated with it will be ignored by the compiler.

In other cases it might be possible to refactor classes so they take a constructor dependency (interface) which would be different for client and server (implementation).

…or an utility class as small as possible that's then super-sourced (see SafeHtmlHostedModeUtils, SafeStylesHostedModeUtils and SafeUriHostedModeUtils for examples of that pattern)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment