From 47b92aaa46f66c415c23fef6e5ec7f44feb0b9f2 Mon Sep 17 00:00:00 2001 From: surtexx <91895868+surtexx@users.noreply.github.com> Date: Tue, 14 Nov 2023 10:53:20 +0200 Subject: [PATCH] Update Owner.java --- .../org/springframework/samples/petclinic/owner/Owner.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/org/springframework/samples/petclinic/owner/Owner.java b/src/main/java/org/springframework/samples/petclinic/owner/Owner.java index b6b31def8..c2302d7bf 100644 --- a/src/main/java/org/springframework/samples/petclinic/owner/Owner.java +++ b/src/main/java/org/springframework/samples/petclinic/owner/Owner.java @@ -102,11 +102,6 @@ public class Owner extends Person { return getPet(name, false); } - /** - * Return the Pet with the given id, or null if none found for this Owner. - * @param id to test - * @return a pet if pet id is already in use - */ public Pet getPet(Integer id) { for (Pet pet : getPets()) { if (!pet.isNew()) {