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 c7394689a..b6b31def8 100644 --- a/src/main/java/org/springframework/samples/petclinic/owner/Owner.java +++ b/src/main/java/org/springframework/samples/petclinic/owner/Owner.java @@ -98,11 +98,6 @@ public class Owner extends Person { } } - /** - * Return the Pet with the given name, or null if none found for this Owner. - * @param name to test - * @return a pet if pet name is already in use - */ public Pet getPet(String name) { return getPet(name, false); }