Skip to content

Commit

Permalink
Merge pull request #488 from bcgov/hotfix/GRAD2-2799
Browse files Browse the repository at this point in the history
GRAD2-2799: fixed the issue on GPA calculation due to the wrong order…
  • Loading branch information
infstar authored Jul 24, 2024
2 parents fb004cf + 2fa17fd commit 3610936
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ public RuleData fire() {
boolean isCompletedCourse1 = false;
boolean isCompletedCourse2 = false;

studentCourseList.sort(Comparator.comparing(StudentCourse::getCourseCode));

for (int i = 0; i < studentCourseList.size() - 1; i++) {
for (int j = i + 1; j < studentCourseList.size(); j++) {
if (studentCourseList.get(i).getCourseCode().equals(studentCourseList.get(j).getCourseCode())
Expand Down

0 comments on commit 3610936

Please sign in to comment.