aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorY.CORP.YAHOO.COM\tgraves <tgraves@thatenemy-lm.champ.corp.yahoo.com>2013-08-30 16:04:31 -0500
committerY.CORP.YAHOO.COM\tgraves <tgraves@thatenemy-lm.champ.corp.yahoo.com>2013-08-30 16:04:31 -0500
commit96452eea56c289e25a711ca54c812723a5059739 (patch)
tree61bcc26260c5c7ad5d2d55cdfb13e6112925fabf /core
parentbac46266a97a6096d6d772e023a3362fd48baac0 (diff)
downloadspark-96452eea56c289e25a711ca54c812723a5059739.tar.gz
spark-96452eea56c289e25a711ca54c812723a5059739.tar.bz2
spark-96452eea56c289e25a711ca54c812723a5059739.zip
fix up minor things
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/spark/ui/SparkUI.scala3
-rw-r--r--core/src/main/scala/spark/ui/UIUtils.scala8
2 files changed, 6 insertions, 5 deletions
diff --git a/core/src/main/scala/spark/ui/SparkUI.scala b/core/src/main/scala/spark/ui/SparkUI.scala
index e078c4a6b2..16bc053c2f 100644
--- a/core/src/main/scala/spark/ui/SparkUI.scala
+++ b/core/src/main/scala/spark/ui/SparkUI.scala
@@ -1,4 +1,5 @@
-/* * Licensed to the Apache Software Foundation (ASF) under one or more
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
diff --git a/core/src/main/scala/spark/ui/UIUtils.scala b/core/src/main/scala/spark/ui/UIUtils.scala
index 6b45679f9d..92eff8ee6a 100644
--- a/core/src/main/scala/spark/ui/UIUtils.scala
+++ b/core/src/main/scala/spark/ui/UIUtils.scala
@@ -48,14 +48,14 @@ private[spark] object UIUtils {
/** Returns a spark page with correctly formatted headers */
def headerSparkPage(content: => Seq[Node], sc: SparkContext, title: String, page: Page.Value)
: Seq[Node] = {
- val storage = page match {
- case Storage => <li class="active"><a href={storageStr}>Storage</a></li>
- case _ => <li><a href={storageStr}>Storage</a></li>
- }
val jobs = page match {
case Jobs => <li class="active"><a href={stagesStr}>Jobs</a></li>
case _ => <li><a href={stagesStr}>Jobs</a></li>
}
+ val storage = page match {
+ case Storage => <li class="active"><a href={storageStr}>Storage</a></li>
+ case _ => <li><a href={storageStr}>Storage</a></li>
+ }
val environment = page match {
case Environment => <li class="active"><a href={envStr}>Environment</a></li>
case _ => <li><a href={envStr}>Environment</a></li>