On Tue, Jul 1, 2014 at 12:38 PM, Stefan Egli <stefane...@apache.org> wrote:
> I like the idea too, but I guess it's merely a question of taste as to
> which of the following two options is nicer:
>  * Foo f = someObject.adaptTo(RequireAdapter<Foo>.class));
>  * Foo f = someObject.adaptToUnchecked(Foo.class);

The big difference is that the first variant requires no API changes
and only requires code changes in AdapterManagerImpl (I think -
haven't looked in full detail ;-)

-Bertrand

Reply via email to