running java-format

This commit is contained in:
bijomutta 2023-07-14 11:06:54 +02:00
parent 51a1ea2e22
commit 86fa0ee8e0

View file

@ -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);