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

Alessio Soldano asoldano at redhat.com
Wed Jun 15 11:06:00 EDT 2016


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/resteasy-dev/attachments/20160615/fb521a66/attachment-0001.html 


More information about the resteasy-dev mailing list