From 8da823a831f9261480d55cb16c2e64a6f2dbdac2 Mon Sep 17 00:00:00 2001 From: Codinab Date: Wed, 21 Feb 2024 17:37:30 +0100 Subject: [PATCH] Made id final MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -Mario Fernandez -Àlex Codina --- src/main/java/cat/udl/eps/softarch/demo/domain/Adoption.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cat/udl/eps/softarch/demo/domain/Adoption.java b/src/main/java/cat/udl/eps/softarch/demo/domain/Adoption.java index b01921a2..a48457a0 100644 --- a/src/main/java/cat/udl/eps/softarch/demo/domain/Adoption.java +++ b/src/main/java/cat/udl/eps/softarch/demo/domain/Adoption.java @@ -3,7 +3,7 @@ import java.util.Date; public class Adoption extends UriEntity { - private Long id; + private final Long id; private String type; private Boolean confirmed; private Date startDate;