aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorAndrew Or <andrew@databricks.com>2016-04-26 11:08:08 -0700
committerAndrew Or <andrew@databricks.com>2016-04-26 11:08:08 -0700
commit2a3d39f48b1a7bb462e17e80e243bbc0a94d802e (patch)
treede0dc594cc37ac9a56d4a3ac363b5c41139c7093 /mllib
parent5cb03220a02c70d343e82d69cfd30edb894595a1 (diff)
downloadspark-2a3d39f48b1a7bb462e17e80e243bbc0a94d802e.tar.gz
spark-2a3d39f48b1a7bb462e17e80e243bbc0a94d802e.tar.bz2
spark-2a3d39f48b1a7bb462e17e80e243bbc0a94d802e.zip
[MINOR] Follow-up to #12625
## What changes were proposed in this pull request? That patch mistakenly widened the visibility from `private[x]` to `protected[x]`. This patch reverts those changes. Author: Andrew Or <andrew@databricks.com> Closes #12686 from andrewor14/visibility.
Diffstat (limited to 'mllib')
-rw-r--r--mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala b/mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala
index 27c813dd61..1554d568af 100644
--- a/mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala
+++ b/mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala
@@ -360,10 +360,10 @@ private[clustering] trait LDAParams extends Params with HasFeaturesCol with HasM
*/
@Since("1.6.0")
@Experimental
-sealed abstract class LDAModel protected[ml] (
+sealed abstract class LDAModel private[ml] (
@Since("1.6.0") override val uid: String,
@Since("1.6.0") val vocabSize: Int,
- @Since("1.6.0") @transient protected[ml] val sparkSession: SparkSession)
+ @Since("1.6.0") @transient private[ml] val sparkSession: SparkSession)
extends Model[LDAModel] with LDAParams with Logging with MLWritable {
// NOTE to developers:
@@ -512,7 +512,7 @@ sealed abstract class LDAModel protected[ml] (
*/
@Since("1.6.0")
@Experimental
-class LocalLDAModel protected[ml] (
+class LocalLDAModel private[ml] (
uid: String,
vocabSize: Int,
@Since("1.6.0") override protected val oldLocalModel: OldLocalLDAModel,
@@ -604,7 +604,7 @@ object LocalLDAModel extends MLReadable[LocalLDAModel] {
*/
@Since("1.6.0")
@Experimental
-class DistributedLDAModel protected[ml] (
+class DistributedLDAModel private[ml] (
uid: String,
vocabSize: Int,
private val oldDistributedModel: OldDistributedLDAModel,