mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-16 12:45:48 +00:00
Update Vet.java
This commit is contained in:
parent
f4b3ad155d
commit
b1ad8a32fe
1 changed files with 0 additions and 4 deletions
|
@ -64,10 +64,6 @@ public class Vet extends Person {
|
||||||
return Collections.unmodifiableList(sortedSpecs);
|
return Collections.unmodifiableList(sortedSpecs);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getNrOfSpecialties() {
|
|
||||||
return getSpecialtiesInternal().size();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void addSpecialty(Specialty specialty) {
|
public void addSpecialty(Specialty specialty) {
|
||||||
getSpecialtiesInternal().add(specialty);
|
getSpecialtiesInternal().add(specialty);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue