From 9d1fa7f6f934bfcf3878cf11df2aad801af628d1 Mon Sep 17 00:00:00 2001 From: Matt Busche Date: Thu, 26 Dec 2024 15:34:31 -0600 Subject: [PATCH] fix bug with JV not always counting as varsity --- src/main/java/trap/model/IndividualTotal.java | 2 +- src/main/java/trap/model/RoundScore.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/trap/model/IndividualTotal.java b/src/main/java/trap/model/IndividualTotal.java index be7fe034..1fb64cbc 100644 --- a/src/main/java/trap/model/IndividualTotal.java +++ b/src/main/java/trap/model/IndividualTotal.java @@ -21,7 +21,7 @@ public String getTeamForScores() { } public String getTeamClassification() { - return this.classification.replace("Senior/Varsity", "Varsity").replace("Senior/Jr. Varsity", "Junior Varsity").replace("Intermediate/Advanced", "Intermediate Advanced").replace("Intermediate/Entry Level", "Intermediate Entry"); + return this.classification.replace("Senior/Varsity", "Varsity").replace("Senior/Jr. Varsity", "Varsity").replace("Intermediate/Advanced", "Intermediate Advanced").replace("Intermediate/Entry Level", "Intermediate Entry"); } public String getTeamClassificationForTotal() { diff --git a/src/main/java/trap/model/RoundScore.java b/src/main/java/trap/model/RoundScore.java index e344765d..3f46a8d3 100644 --- a/src/main/java/trap/model/RoundScore.java +++ b/src/main/java/trap/model/RoundScore.java @@ -31,6 +31,6 @@ public String getUniqueName() { } public String getTeamClassification() { - return this.classification.replace("Senior/Varsity", "Varsity").replace("Senior/Jr. Varsity", "Junior Varsity").replace("Intermediate/Advanced", "Intermediate Advanced").replace("Intermediate/Entry Level", "Intermediate Entry"); + return this.classification.replace("Senior/Varsity", "Varsity").replace("Senior/Jr. Varsity", "Varsity").replace("Intermediate/Advanced", "Intermediate Advanced").replace("Intermediate/Entry Level", "Intermediate Entry"); } }