Skip to content

Commit

Permalink
<fix>: rename the DI variable name in constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
wickdynex committed Nov 12, 2024
1 parent 317562a commit cc89e4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class OwnerController {

private final OwnerRepository owners;

public OwnerController(OwnerRepository clinicService) {
this.owners = clinicService;
public OwnerController(OwnerRepository owners) {
this.owners = owners;
}

@InitBinder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class VetController {

private final VetRepository vetRepository;

public VetController(VetRepository clinicService) {
this.vetRepository = clinicService;
public VetController(VetRepository vetRepository) {
this.vetRepository = vetRepository;
}

@GetMapping("/vets.html")
Expand Down

0 comments on commit cc89e4f

Please sign in to comment.