Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
FIX: Only adding TTEs with certain class
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Feb 10, 2019
1 parent 8f98df7 commit 3cd6521
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ public TimeTable getTotalDifferences(TimeTable savedTimeTable, String className)

if (newDay) {
int dayDiffs = ttd.getElementsCount(className);
differencesTimeTable.addDay(ttd);

differencesTimeTable.addDay(ttd.getTTDbyClass(className));
Logger.d(TAG, String.format(Locale.getDefault(),"New Day found - %d cancellations for %s", dayDiffs, className));
}
}
Expand Down

0 comments on commit 3cd6521

Please sign in to comment.