mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-03-02 11:51:14 +00:00
Minor code changes are the following:
-Removed unused variables from few files. -Added null assertions in some tests. -Removed unnecessary throw exceptions.
This commit is contained in:
parent
fc442120ce
commit
ae1bb8228c
8 changed files with 16 additions and 11 deletions
|
|
@ -57,10 +57,6 @@ public class Vet extends Person {
|
|||
return this.specialties;
|
||||
}
|
||||
|
||||
protected void setSpecialtiesInternal(Set<Specialty> specialties) {
|
||||
this.specialties = specialties;
|
||||
}
|
||||
|
||||
@XmlElement
|
||||
public List<Specialty> getSpecialties() {
|
||||
List<Specialty> sortedSpecs = new ArrayList<>(getSpecialtiesInternal());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue