Tuesday, February 22, 2011

Re: Split points for method having return type other than void

The way you write it does not worl:
  int x = foo();
expects foo() to return an int, but it's declared as returning void.

You do not need to runAsync in foo, bar and goo provided you're only calling them from one place (onClick). If you're always calling them in succession, you should always have only one split point (runAsync) for the entire group.

Cheers,

   Philippe

--
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