From 10ddd1105578d42ec1a25479f795292f247c6d98 Mon Sep 17 00:00:00 2001 From: "kevin.buntrock" Date: Tue, 1 Oct 2024 16:59:04 +0200 Subject: [PATCH] Maj sample --- .../jpa/sample/demo/entities/securite/profil/Profil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/generators/jpa/src/main/javagen/topmodel/jpa/sample/demo/entities/securite/profil/Profil.java b/samples/generators/jpa/src/main/javagen/topmodel/jpa/sample/demo/entities/securite/profil/Profil.java index d6cec69d..b57b1972 100644 --- a/samples/generators/jpa/src/main/javagen/topmodel/jpa/sample/demo/entities/securite/profil/Profil.java +++ b/samples/generators/jpa/src/main/javagen/topmodel/jpa/sample/demo/entities/securite/profil/Profil.java @@ -105,8 +105,9 @@ public String getLibelle() { * @return value of {@link topmodel.jpa.sample.demo.entities.securite.profil.Profil#droits droits}. */ public List getDroits() { - if(this.droits == null) + if(this.droits == null) { this.droits = new ArrayList<>(); + } return this.droits; }