[resteasy-dev] Possible improvement of RESTEASY-1369 fix

Weinan Li weli at redhat.com
Wed Jun 15 23:29:41 EDT 2016


Looks good to me :-)
--
Weinan Li / JBoss

> On Jun 15, 2016, at 11:06 PM, Alessio Soldano <asoldano at redhat.com> wrote:
> 
> Folks,
> 
> please see https://github.com/resteasy/Resteasy/pull/841 . Basically I didn't like that much the fact that we are allocating a map for each resource invoker match, considering that's used only for reporting a warning in case multiple methods match (which afaiu is not the normal / usual scenario). The idea of the fix is to actually create and start adding stuff to a set only when the 2nd different (object reference wise) method is matched.
> 
> Any feedback is appreciated.
> 
> Cheers
> 
> Alessio
> 
> -- 
> Alessio Soldano
> Web Service Lead, JBoss
> 
> _______________________________________________
> resteasy-dev mailing list
> resteasy-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/resteasy-dev




More information about the resteasy-dev mailing list