From e5fb78baf9a6014b6dd02cf9f528d069732aafca Mon Sep 17 00:00:00 2001 From: Herman van Hovell Date: Sat, 30 Apr 2016 16:06:20 +0100 Subject: [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 Closes #12732 from hvanhovell/SPARK-14952. --- .../main/scala/org/apache/spark/input/PortableDataStream.scala | 9 --------- 1 file changed, 9 deletions(-) (limited to 'core/src') 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 } -- cgit v1.2.3