diff --git a/core/src/main/java/org/apache/spark/TaskContext.java b/core/src/main/java/org/apache/spark/TaskContext.java index a4654ebb12c95..2d998d4c7a5d9 100644 --- a/core/src/main/java/org/apache/spark/TaskContext.java +++ b/core/src/main/java/org/apache/spark/TaskContext.java @@ -62,8 +62,8 @@ static void unset() { */ public abstract boolean isInterrupted(); + /** @deprecated: use isRunningLocally() */ @Deprecated - /** Deprecated: use isRunningLocally() */ public abstract boolean runningLocally(); public abstract boolean isRunningLocally(); @@ -89,7 +89,7 @@ static void unset() { * is for HadoopRDD to register a callback to close the input stream. * Will be called in any situation - success, failure, or cancellation. * - * Deprecated: use addTaskCompletionListener + * @deprecated: use addTaskCompletionListener * * @param f Callback function. */ diff --git a/project/MimaBuild.scala b/project/MimaBuild.scala index ecf34c61eb78e..d919b18e09855 100644 --- a/project/MimaBuild.scala +++ b/project/MimaBuild.scala @@ -40,7 +40,6 @@ object MimaBuild { ProblemFilters.exclude[IncompatibleResultTypeProblem](fullName), ProblemFilters.exclude[IncompatibleMethTypeProblem](fullName), ProblemFilters.exclude[IncompatibleFieldTypeProblem](fullName) -// ProblemFilters.exclude[AbstractClassProblem](fullName) ) // Exclude a single class and its corresponding object