This formatting is weird (doesn't match the rest of the code). It should look like this:

    class DAGScheduler(
        taskSched: TaskScheduler,
        mapOutputTracker: MapOutputTracker,
        blockManagerMaster: BlockManagerMaster,
        env: SparkEnv)
      extends TaskSchedulerListener with Logging {
    ...
    }