Merge branch '6.1.x'

This commit is contained in:
Juergen Hoeller
2024-04-24 13:42:43 +02:00
4 changed files with 14 additions and 3 deletions

View File

@@ -864,12 +864,14 @@ public class MvcUriComponentsBuilderTests {
}
}
interface HelloInterface {
@GetMapping("/hello/{name}")
ResponseEntity<String> get(@PathVariable String name);
}
@Controller
static class HelloController implements HelloInterface {
@@ -877,7 +879,6 @@ public class MvcUriComponentsBuilderTests {
public ResponseEntity<String> get(String name) {
return ResponseEntity.ok("Hello " + name);
}
}
}