Skip to content

Commit

Permalink
[CORE][minor] remove unnecessary ClassTag in DAGScheduler
Browse files Browse the repository at this point in the history
This existed at the very beginning, but became unnecessary after [this commit](apache@37d8f37#diff-6a9ff7fb74fd490a50462d45db2d5e11L272). I think we should remove it if we don't plan to use it in the future.

Author: Wenchen Fan <[email protected]>

Closes apache#4992 from cloud-fan/small and squashes the following commits:

e857f2e [Wenchen Fan] remove unnecessary ClassTag
  • Loading branch information
cloud-fan authored and srowen committed Mar 13, 2015
1 parent 9048e81 commit ea3d2ee
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import scala.collection.mutable.{ArrayBuffer, HashMap, HashSet, Map, Stack}
import scala.concurrent.Await
import scala.concurrent.duration._
import scala.language.postfixOps
import scala.reflect.ClassTag
import scala.util.control.NonFatal

import akka.pattern.ask
Expand Down Expand Up @@ -497,7 +496,7 @@ class DAGScheduler(
waiter
}

def runJob[T, U: ClassTag](
def runJob[T, U](
rdd: RDD[T],
func: (TaskContext, Iterator[T]) => U,
partitions: Seq[Int],
Expand Down

0 comments on commit ea3d2ee

Please sign in to comment.