Monday, December 28, 2009

Re: Errors/Typos in GWT Docs

On Dec 27, 9:40 pm, Chris Ramsdale <cramsd...@google.com> wrote:
> Marty,
>
> Thanks for the suggestions. We'll incorporate them into our next doc
> review/update.
>
> Keep 'em coming.
>
> - Chris

I'd like the Javadoc to be a little clearer in a couple of places.
For example, the Javadoc for History.newItem(String) should
indicate that calls to it are idempotent:

History.newItem("main");
History.newItem("main");

only adds one item to the history stack (or possibly no items),
not two. That's obviously the correct behavior, but it should be
stated explicitly.

I had written some code for a GWT 1.7.1 application to protect
against having duplicate items atop each other in the history
stack, but I was able to remove the code after I looked at the
History source code.

Respectfully,
Eric Jablow

--

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate