output: #fixed code
                                public void addCompleteTask(GetTask task) {
      synchronized (getTasksComplete) {
        getTasksComplete.addLast(task);
      }
      //dispatcherThread.interrupt();
    }
input: #vulnerable code 
                                public void addCompleteTask(GetTask task) {
      synchronized (getTasksComplete) {
        getTasksComplete.addLast(task);
      }
      dispatcherThread.interrupt();
    } 
                              #location 5 
                              #vulnerability type THREAD_SAFETY_VIOLATION