aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorHolden Karau <holden@pigscanfly.ca>2015-07-01 23:04:05 -0700
committerAndrew Or <andrew@databricks.com>2015-07-01 23:04:05 -0700
commitd14338eafc5d633f766bd52ba610fd7c4fe90581 (patch)
tree6b9a066f0df1521d20d284c4ac84a6dc38bfced2 /core
parent646366b5d2f12e42f8e7287672ba29a8c918a17d (diff)
downloadspark-d14338eafc5d633f766bd52ba610fd7c4fe90581.tar.gz
spark-d14338eafc5d633f766bd52ba610fd7c4fe90581.tar.bz2
spark-d14338eafc5d633f766bd52ba610fd7c4fe90581.zip
[SPARK-8771] [TRIVIAL] Add a version to the deprecated annotation for the actorSystem
Author: Holden Karau <holden@pigscanfly.ca> Closes #7172 from holdenk/SPARK-8771-actor-system-deprecation-tag-uses-deprecated-deprecation-tag and squashes the following commits: 7f1455b [Holden Karau] Add .0s to the versions for the derpecated anotations in SparkEnv.scala ca13c9d [Holden Karau] Add a version to the deprecated annotation for the actorSystem in SparkEnv
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/SparkEnv.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/scala/org/apache/spark/SparkEnv.scala b/core/src/main/scala/org/apache/spark/SparkEnv.scala
index 1b133fbdfa..d18fc599e9 100644
--- a/core/src/main/scala/org/apache/spark/SparkEnv.scala
+++ b/core/src/main/scala/org/apache/spark/SparkEnv.scala
@@ -76,7 +76,7 @@ class SparkEnv (
val conf: SparkConf) extends Logging {
// TODO Remove actorSystem
- @deprecated("Actor system is no longer supported as of 1.4")
+ @deprecated("Actor system is no longer supported as of 1.4.0", "1.4.0")
val actorSystem: ActorSystem = rpcEnv.asInstanceOf[AkkaRpcEnv].actorSystem
private[spark] var isStopped = false
@@ -173,7 +173,7 @@ object SparkEnv extends Logging {
/**
* Returns the ThreadLocal SparkEnv.
*/
- @deprecated("Use SparkEnv.get instead", "1.2")
+ @deprecated("Use SparkEnv.get instead", "1.2.0")
def getThreadLocal: SparkEnv = {
env
}