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()) {