Fixed >100char lines in DAGScheduler.scala
Style fixes as per Reynold's review
Merge pull request #305 from kayousterhout/line_spacing

Fixed >100char lines in DAGScheduler.scala

There's no changed functionality here -- only line spacing and one grammatical fix in a comment.
Remove unused hasPendingTasks methods
Removed unused OtherFailure TaskEndReason.
Merge pull request #306 from kayousterhout/remove_pending

Remove unused hasPendingTasks methods
Merge pull request #307 from kayousterhout/other_failure

Removed unused OtherFailure TaskEndReason.

The OtherFailure TaskEndReason was added by @mateiz 3 years ago in this commit: https://github.com/apache/incubator-spark/commit/24a1e7f8380bfd8d4fbdda688482a451bd6ea215

Unless I am missing something, it doesn't seem to have been used then, and is not used now, so seems safe for deletion.