import pl.librus.client.datamodel.PlainLesson;
import pl.librus.client.datamodel.Subject;
import pl.librus.client.datamodel.Teacher;
import pl.librus.client.datamodel.Timetable;
import pl.librus.client.timetable.TimetableUtils;
<BUG>import pl.librus.client.ui.MainApplication;
public class UpdateHelper {</BUG>
private final APIClient client;
private final Context context;
private final List<Promise> tasks = new ArrayList<>();

import pl.librus.client.datamodel.PlainLesson;
import pl.librus.client.datamodel.Subject;
import pl.librus.client.datamodel.Teacher;
import pl.librus.client.datamodel.Timetable;
import pl.librus.client.timetable.TimetableUtils;
import pl.librus.client.ui.MainApplication;
import static com.google.common.collect.Iterables.toArray;
public class UpdateHelper {
private final APIClient client;
private final Context context;
private final List<Promise> tasks = new ArrayList<>();
