Skip to content
Snippets Groups Projects
Commit bcc6ed30 authored by Marek Kolodziej's avatar Marek Kolodziej
Browse files

Formatting and scoping (private[spark]) updates

parent 99cfe89c
No related branches found
No related tags found
No related merge requests found
...@@ -833,7 +833,7 @@ private[spark] object Utils extends Logging { ...@@ -833,7 +833,7 @@ private[spark] object Utils extends Logging {
while (i < numIters) { while (i < numIters) {
f f
i += 1 i += 1
} }
} }
/** /**
......
...@@ -31,7 +31,7 @@ import org.apache.spark.util.Utils.timeIt ...@@ -31,7 +31,7 @@ import org.apache.spark.util.Utils.timeIt
* uses a regular Long. We can forgo thread safety since we use a new instance of the RNG * uses a regular Long. We can forgo thread safety since we use a new instance of the RNG
* for each thread. * for each thread.
*/ */
class XORShiftRandom(init: Long) extends JavaRandom(init) { private[spark] class XORShiftRandom(init: Long) extends JavaRandom(init) {
def this() = this(System.nanoTime) def this() = this(System.nanoTime)
...@@ -49,7 +49,7 @@ class XORShiftRandom(init: Long) extends JavaRandom(init) { ...@@ -49,7 +49,7 @@ class XORShiftRandom(init: Long) extends JavaRandom(init) {
} }
/** Contains benchmark method and main method to run benchmark of the RNG */ /** Contains benchmark method and main method to run benchmark of the RNG */
object XORShiftRandom { private[spark] object XORShiftRandom {
/** /**
* Main method for running benchmark * Main method for running benchmark
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment