Skip to content
Snippets Groups Projects
Commit 562893be authored by Mark Hamstra's avatar Mark Hamstra
Browse files

deleted excess curly braces

parent 1289e717
No related branches found
No related tags found
No related merge requests found
......@@ -204,9 +204,9 @@ class RDDSuite extends FunSuite with LocalSparkContext {
val ones = sc.makeRDD(Array(1, 1, 1, 1, 1, 1), 2)
val randoms = ones.flatMapWith(
(index: Int) => new Random(index + 42))
{(prng: Random, t: Int) => {
{(prng: Random, t: Int) =>
val random = prng.nextDouble()
Seq(random * t, random * t * 10)}}.
Seq(random * t, random * t * 10)}.
collect()
val prn42_3 = {
val prng42 = new Random(42)
......
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