Skip to content

Commit

Permalink
use lombok setter (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbusche authored Oct 7, 2023
1 parent 674f78c commit 543d2ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/java/trap/model/IndividualTotal.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Setter;

@AllArgsConstructor
@Data
public class IndividualTotal {
int locationId;
@Setter
String team;
String athlete;
String classification;
String gender;
int total;
String type;

public void setTeam(String team) {
this.team = team;
}

public String getTeamForScores() {
return this.type + " " + this.team + " " + this.getTeamClassificationForTotal();
}
Expand Down

0 comments on commit 543d2ce

Please sign in to comment.