aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorHerman van Hovell <hvanhovell@questtec.nl>2016-04-30 16:06:20 +0100
committerSean Owen <sowen@cloudera.com>2016-04-30 16:06:20 +0100
commite5fb78baf9a6014b6dd02cf9f528d069732aafca (patch)
treef1c49579318bfa86831fbd7cf84be902b0ece27f /core/src
parent0847fe4eb346e3c2060eb0f3680610bec06115e7 (diff)
downloadspark-e5fb78baf9a6014b6dd02cf9f528d069732aafca.tar.gz
spark-e5fb78baf9a6014b6dd02cf9f528d069732aafca.tar.bz2
spark-e5fb78baf9a6014b6dd02cf9f528d069732aafca.zip
[SPARK-14952][CORE][ML] Remove methods that were deprecated in 1.6.0
#### What changes were proposed in this pull request? This PR removes three methods the were deprecated in 1.6.0: - `PortableDataStream.close()` - `LinearRegression.weights` - `LogisticRegression.weights` The rationale for doing this is that the impact is small and that Spark 2.0 is a major release. #### How was this patch tested? Compilation succeded. Author: Herman van Hovell <hvanhovell@questtec.nl> Closes #12732 from hvanhovell/SPARK-14952.
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/scala/org/apache/spark/input/PortableDataStream.scala9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/src/main/scala/org/apache/spark/input/PortableDataStream.scala b/core/src/main/scala/org/apache/spark/input/PortableDataStream.scala
index 18cb7631b3..f66510b6f9 100644
--- a/core/src/main/scala/org/apache/spark/input/PortableDataStream.scala
+++ b/core/src/main/scala/org/apache/spark/input/PortableDataStream.scala
@@ -185,15 +185,6 @@ class PortableDataStream(
}
}
- /**
- * Closing the PortableDataStream is not needed anymore. The user either can use the
- * PortableDataStream to get a DataInputStream (which the user needs to close after usage),
- * or a byte array.
- */
- @deprecated("Closing the PortableDataStream is not needed anymore.", "1.6.0")
- def close(): Unit = {
- }
-
def getPath(): String = path
}