7879808182838485868788
SleepTask task3 = new SleepTask(1000); taskSequence.add(task3); synchronized (taskListener) { taskSequence.execute(taskListener); try { taskListener.wait(); } catch (InterruptedException exception) { }
7778798081828384858687
SleepTask task3 = new SleepTask(2000); taskSequence.add(task3); synchronized (taskListener) { taskSequence.execute(taskListener); try { taskListener.wait(); } catch (InterruptedException exception) { // empty block
SleepTask task3 = new SleepTask(2000); taskSequence.add(task3); synchronized (taskListener) { taskSequence.execute(taskListener); try { taskListener.wait(); } catch (InterruptedException exception) { }