mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Merge branch '6.1.x'
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user