From baaf7425b262d2ae37fd7a3dddd72cd425c90b95 Mon Sep 17 00:00:00 2001 From: surtexx <91895868+surtexx@users.noreply.github.com> Date: Tue, 14 Nov 2023 10:48:51 +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 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); }