This just happened today in the Spring MVC cotnroller class,
@RequestMapping(value = { "/foo/*" }, method = { RequestMethod.GET}) private String doThing(final WebRequest request) { ... return "jsp"; }
It's a little harder to write a test, I will probably change it to public, but what's the point of allowing comparisons for private methods?
blank source share