This is a bug :) That should be void and not object. On Mon, Jul 4, 2016 at 9:05 PM Jens <[email protected]> wrote:
> > > - often method signature defines Object as return type while I am pretty >> sure something more concrete would be more appropriate. >> >> if a method "getFoo" can return different types "string or Foo", we >> create different methods : >> public Object getFoo(); >> public String getFooAsString(); >> public Foo getFooAsFoo(); >> >> In the future there will be javadoc above the methods mentioning these >> links between a set of methods. >> > > What about methods that do not return different types and sometimes even > should return void? For example > > void Window.alert(String) > void Window.focus() > long Date.setDate(int) > > They all return Object currently. > > -- J. > > -- > You received this message because you are subscribed to the Google Groups > "GWT Contributors" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-web-toolkit-contributors/fa7580d3-f355-44e1-a923-c588b3c6da45%40googlegroups.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/fa7580d3-f355-44e1-a923-c588b3c6da45%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D7qxuWywowiAC5C1gks4FfQJ9zgLbAWKt65_YhJeaQ2Gg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
