diff --git a/src/main/java/trap/model/TeamScore.java b/src/main/java/trap/model/TeamScore.java index d9ecff9..bdbad70 100644 --- a/src/main/java/trap/model/TeamScore.java +++ b/src/main/java/trap/model/TeamScore.java @@ -7,5 +7,5 @@ @AllArgsConstructor public class TeamScore { String name; - Integer total; + int total; } diff --git a/src/main/java/trap/report/ExcelHelper.java b/src/main/java/trap/report/ExcelHelper.java index 261d7ea..e0f5669 100644 --- a/src/main/java/trap/report/ExcelHelper.java +++ b/src/main/java/trap/report/ExcelHelper.java @@ -113,7 +113,7 @@ public static void addCleanData(Row row, RoundScore rowData) { cell.setCellValue(rowData.getType()); } - public static void addTeamData(Row row, int startColumn, String team, Integer total, CellStyle mainTextStyle) { + public static void addTeamData(Row row, int startColumn, String team, int total, CellStyle mainTextStyle) { Cell cell = row.createCell(startColumn); cell.setCellValue(team); cell.setCellStyle(mainTextStyle); @@ -122,7 +122,7 @@ public static void addTeamData(Row row, int startColumn, String team, Integer to cell.setCellStyle(mainTextStyle); } - public static void addPlayerData(Row row, int column, String athlete, Integer total, String team, CellStyle mainTextStyle) { + public static void addPlayerData(Row row, int column, String athlete, int total, String team, CellStyle mainTextStyle) { if (row != null) { Cell cell = row.createCell(column); cell.setCellValue(athlete);