mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 13:25:49 +00:00
Updating using GitHub API 2025-06-19-15:31
This commit is contained in:
parent
c2d6cda5c3
commit
516f13e3fc
1 changed files with 5 additions and 5 deletions
|
@ -30,14 +30,14 @@ import jakarta.xml.bind.annotation.XmlRootElement;
|
||||||
@XmlRootElement
|
@XmlRootElement
|
||||||
public class Vets {
|
public class Vets {
|
||||||
|
|
||||||
private List<Vet> vets;
|
private List<Vet> vetList;
|
||||||
|
|
||||||
@XmlElement
|
@XmlElement
|
||||||
public List<Vet> getVetList() {
|
public List<Vet> getVetList() {
|
||||||
if (vets == null) {
|
if (vetList == null) {
|
||||||
vets = new ArrayList<>();
|
vetList = new ArrayList<>();
|
||||||
}
|
}
|
||||||
return vets;
|
return vetList;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue