Skip to content

Commit 9f7aea9

Browse files
committed
Style fixes
1 parent 374a706 commit 9f7aea9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mllib/src/main/scala/org/apache/spark/mllib/clustering/StreamingKMeans.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,11 @@ class StreamingKMeans(
243243
data.mapValues(model.predict)
244244
}
245245

246-
/** Check whether cluster centers have been initialized.*/
246+
/** Check whether cluster centers have been initialized. */
247247
def assertInitialized(): Unit = {
248248
if (Option(model.clusterCenters) == None) {
249-
throw new IllegalStateException("Initial cluster centers must be set before starting predictions")
249+
throw new IllegalStateException(
250+
"Initial cluster centers must be set before starting predictions")
250251
}
251252
}
252253

0 commit comments

Comments
 (0)