Follow up of https://issues.jboss.org/browse/RESTEASY-1300
I have a method that produces
A request comes in with Accept header
This is parsed as three acceptMedia, so this loop is executed three times. Because of that the match is added three times, and because of that the warning triggers, filling up our logs.
Idea for a fix: Check the unique number of destinations, before printing the warning. In my code, the three matches (based on media type) all point to the same method in the same resource. The warning should only be printed if we have to choose between multiple methods I think.