mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
add null point
This commit is contained in:
parent
adab01ef62
commit
46c2356a51
1 changed files with 3 additions and 3 deletions
|
@ -88,9 +88,9 @@ public class Pet extends NamedEntity {
|
|||
}
|
||||
|
||||
protected Set<Visit> getVisitsInternal() {
|
||||
if (this.visits == null) {
|
||||
this.visits = new HashSet<>();
|
||||
}
|
||||
// if (this.visits == null) {
|
||||
// this.visits = new HashSet<>();
|
||||
// }
|
||||
return this.visits;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue