Update Owner.java

This commit is contained in:
surtexx 2023-11-14 10:48:51 +02:00 committed by GitHub
parent bb4366eb1d
commit baaf7425b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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