From 543d2cedd546f94576b2996843d6d11a85b710a1 Mon Sep 17 00:00:00 2001 From: Matt Busche Date: Sat, 7 Oct 2023 14:10:15 -0500 Subject: [PATCH] use lombok setter (#332) --- src/main/java/trap/model/IndividualTotal.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/trap/model/IndividualTotal.java b/src/main/java/trap/model/IndividualTotal.java index a703d325..be7fe034 100644 --- a/src/main/java/trap/model/IndividualTotal.java +++ b/src/main/java/trap/model/IndividualTotal.java @@ -2,11 +2,13 @@ import lombok.AllArgsConstructor; import lombok.Data; +import lombok.Setter; @AllArgsConstructor @Data public class IndividualTotal { int locationId; + @Setter String team; String athlete; String classification; @@ -14,10 +16,6 @@ public class IndividualTotal { int total; String type; - public void setTeam(String team) { - this.team = team; - } - public String getTeamForScores() { return this.type + " " + this.team + " " + this.getTeamClassificationForTotal(); }