From 9fc78f8f2907828c448fd53155ec01203212321d Mon Sep 17 00:00:00 2001 From: Patrick Wendell Date: Fri, 28 Sep 2012 16:05:50 -0700 Subject: [PATCH] Fixing some whitespace issues --- core/src/main/scala/spark/RDD.scala | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/src/main/scala/spark/RDD.scala b/core/src/main/scala/spark/RDD.scala index 8590d487cc..cce1acc2ca 100644 --- a/core/src/main/scala/spark/RDD.scala +++ b/core/src/main/scala/spark/RDD.scala @@ -145,15 +145,15 @@ abstract class RDD[T: ClassManifest](@transient sc: SparkContext) extends Serial for (el <- trace) { if (!finished) { - if (el.getClassName().contains("spark") && !el.getClassName().startsWith("spark.examples")) { - lastSparkMethod = el.getMethodName() - } - else { - firstUserMethod = el.getMethodName() - firstUserLine = el.getLineNumber() - firstUserFile = el.getFileName() - finished = true - } + if (el.getClassName().contains("spark") && !el.getClassName().startsWith("spark.examples")) { + lastSparkMethod = el.getMethodName() + } + else { + firstUserMethod = el.getMethodName() + firstUserLine = el.getLineNumber() + firstUserFile = el.getFileName() + finished = true + } } } "%s at: %s (%s:%s)".format(lastSparkMethod, firstUserMethod, firstUserFile, firstUserLine)