mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
Update Owner.java
This commit is contained in:
parent
bb4366eb1d
commit
baaf7425b2
1 changed files with 0 additions and 5 deletions
|
@ -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) {
|
public Pet getPet(String name) {
|
||||||
return getPet(name, false);
|
return getPet(name, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue