mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
running java-format
This commit is contained in:
parent
51a1ea2e22
commit
86fa0ee8e0
1 changed files with 0 additions and 1 deletions
|
@ -57,7 +57,6 @@ class PetController {
|
|||
@ModelAttribute("owner")
|
||||
public Owner findOwner(@PathVariable("ownerId") int ownerId) {
|
||||
|
||||
|
||||
Owner owner = this.owners.findById(ownerId);
|
||||
if (owner == null) {
|
||||
throw new IllegalArgumentException("Owner ID not found: " + ownerId);
|
||||
|
|
Loading…
Reference in a new issue