Skip to content

Commit 542a736

Browse files
committed
Small fixes
1 parent cf23ec6 commit 542a736

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

core/src/main/scala/org/apache/spark/SparkEnv.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import org.apache.spark.util.{AkkaUtils, Utils}
4141
* objects needs to have the right SparkEnv set. You can get the current environment with
4242
* SparkEnv.get (e.g. after creating a SparkContext) and set it with SparkEnv.set.
4343
*/
44-
private[spark] class SparkEnv private[spark] (
44+
private[spark] class SparkEnv (
4545
val executorId: String,
4646
val actorSystem: ActorSystem,
4747
val serializer: Serializer,

core/src/main/scala/org/apache/spark/storage/BlockManager.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ import org.apache.spark.util._
3838
private[spark] sealed trait Values
3939

4040
private[spark] case class ByteBufferValues(buffer: ByteBuffer) extends Values
41-
private[spark]case class IteratorValues(iterator: Iterator[Any]) extends Values
42-
private[spark]case class ArrayBufferValues(buffer: ArrayBuffer[Any]) extends Values
41+
private[spark] case class IteratorValues(iterator: Iterator[Any]) extends Values
42+
private[spark] case class ArrayBufferValues(buffer: ArrayBuffer[Any]) extends Values
4343

4444
private[spark] class BlockManager(
4545
executorId: String,

core/src/main/scala/org/apache/spark/util/random/RandomSampler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class BernoulliSampler[T](lb: Double, ub: Double, complement: Boolean = false)
7070
override def clone = new BernoulliSampler[T](lb, ub)
7171
}
7272

73-
/** Ps
73+
/**
7474
* <span class="badge badge-red" style="float: right;">DEVELOPER API - UNSTABLE</span>
7575
*
7676
* A sampler based on values drawn from Poisson distribution.

0 commit comments

Comments
 (0)