Dear BlessedGeek,

The requirements should be quite clear to any java developer (unless
said developer is completely unaware of all of the post 1.4 jdk
enhancements). When the documentation says: "In GWT 1.5, @gwt.typeArgs
annotations have been deprecated in favor of parameterized types" you
should understand that instead of declaring a method this way:

<code>
 /**
   * This field is a Set that must always contain Strings.
   *
   * @gwt.typeArgs <java.lang.String>
   */
  public Set setOfStrings;
</code>

You should declare it like this:

<code>
 /**
   * This field is a parameterised Set.
   *
   */
  public Set<String> setOfStrings;
</code>

> unbelievably and
> unacceptably give examples on how to use @gwt.TypeArgs using the
> pre-1.5 patterns.

Well, it is neither unbelievably nor unacceptable, as sometimes you
just can't declare parameterised variable and in those cases it's
still helpful to know how to use @gwt.typeargs

Cheers,

Salvador

On May 17, 12:58 am, Blessed Geek <[email protected]> wrote:
> Dear GWT team,
>
> This may seem trivial but I think even if it is worth just a paragraph
> or two, you should document the new requirements rather than just
> referring to "unlike pre-gwt1.5, you have to used parameterised types"
> in blogs and discussions.
>
> Having proper documentation makes it "professional" too. I find it
> difficult to ascertain the precise requirement when I have to google-
> search for "@gwt.TypeArgs gwt 1.6 specification" and finding none but
> some heresay/heresy from blogs and discussions.
>
> Even your "what's new" says:
> @gwt.TypeArgs pre-1.5 has been deprecated but unbelievably and
> unacceptably give examples on how to use @gwt.TypeArgs using the
> pre-1.5 patterns.
--~--~---------~--~----~------------~-------~--~----~
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