From bc049daf1d1227c4c49797527fb5903a60df8b79 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sat, 7 Sep 2019 15:25:04 -0400 Subject: [PATCH] [O] Optimize StJohnsCourse --- src/main/java/org/hydev/veracross/sdk/model/StJohnsCourse.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/hydev/veracross/sdk/model/StJohnsCourse.java b/src/main/java/org/hydev/veracross/sdk/model/StJohnsCourse.java index 30cba27..80443ce 100644 --- a/src/main/java/org/hydev/veracross/sdk/model/StJohnsCourse.java +++ b/src/main/java/org/hydev/veracross/sdk/model/StJohnsCourse.java @@ -30,8 +30,7 @@ public class StJohnsCourse extends VeracrossCourse */ public StJohnsCourse(VeracrossCourse course) { - // Copy info - super(course.getName(), course.getTeacherName(), course.getId(), course.getAssignmentsId()); + super(course); // Detect level if (course.getName().startsWith("AP"))