mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:15:50 +00:00
<fix>: rename the DI variable name in constructor.
This commit is contained in:
parent
a0ba075bd8
commit
214a8fb87f
2 changed files with 4 additions and 4 deletions
|
@ -50,8 +50,8 @@ class OwnerController {
|
||||||
|
|
||||||
private final OwnerRepository owners;
|
private final OwnerRepository owners;
|
||||||
|
|
||||||
public OwnerController(OwnerRepository clinicService) {
|
public OwnerController(OwnerRepository owners) {
|
||||||
this.owners = clinicService;
|
this.owners = owners;
|
||||||
}
|
}
|
||||||
|
|
||||||
@InitBinder
|
@InitBinder
|
||||||
|
|
|
@ -37,8 +37,8 @@ class VetController {
|
||||||
|
|
||||||
private final VetRepository vetRepository;
|
private final VetRepository vetRepository;
|
||||||
|
|
||||||
public VetController(VetRepository clinicService) {
|
public VetController(VetRepository vetRepository) {
|
||||||
this.vetRepository = clinicService;
|
this.vetRepository = vetRepository;
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/vets.html")
|
@GetMapping("/vets.html")
|
||||||
|
|
Loading…
Reference in a new issue