anchor.diff:  [source,java,indent=0]
   [subs="verbatim,quotes"]
   ----
  -	@Controller
  -	@RequestMapping(path = "/pets/{petId}", method = RequestMethod.GET, **produces = MediaType.APPLICATION_JSON_UTF8_VALUE**)
  +	@GetMapping(path = "/pets/{petId}", **produces = MediaType.APPLICATION_JSON_UTF8_VALUE**)
   	@ResponseBody
   	public Pet getPet(@PathVariable String petId, Model model) {
   		// implementation omitted
  
positive.code: ----
  	// GET /pets/42;q=11;r=22
  
  	@RequestMapping(path = "/pets/{petId}", method = RequestMethod.GET)
  	public void findPet(@PathVariable String petId, @MatrixVariable int q) {
  
  		// petId == 42
  
negative.code: 
  The `@ModelAttribute` annotation can be used on `@RequestMapping` methods as well. In
  that case the return value of the `@RequestMapping` method is interpreted as a model
  attribute rather than as a view name. The view name is then derived based on view name
  conventions instead, much like for methods returning `void` -- see <<mvc-coc-r2vnt>>.
  
  
  [[mvc-ann-modelattrib-method-args]]
  