http://gwt-code-reviews.appspot.com/2205/diff/1/24
File user/src/com/google/gwt/user/client/ui/Widget.java (left):

http://gwt-code-reviews.appspot.com/2205/diff/1/24#oldcode53
Line 53: public final HandlerManager getHandlers() {
On 2009/01/15 14:53:37, ecc wrote:
> I think that would be a much larger breaking change if we did not
override the
> return type here.

I think it's too soon to think that way with this code. All of its users
are early adopters who haven't even had access to it in an RC, or
internal users whom we're perfectly capable of fixing.

Narrowing the type is the odd thing to do, and if we don't have a
compelling reason to do it, we shouldn't. IMHO

http://gwt-code-reviews.appspot.com/2205

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to