Skip to content

Commit a599d91

Browse files
committed
Removing unnecessary code
1 parent 30d0514 commit a599d91

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

core/src/main/scala/org/apache/spark/ui/UIUtils.scala

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -511,18 +511,6 @@ private[spark] object UIUtils extends Logging {
511511
def getTimeZoneOffset() : Int =
512512
TimeZone.getDefault().getOffset(System.currentTimeMillis()) / 1000 / 60
513513

514-
/**
515-
* Return the correct Href after checking if master is running in the
516-
* reverse proxy mode or not.
517-
*/
518-
def makeHref(proxy: Boolean, id: String, origHref: String): String = {
519-
if (proxy) {
520-
s"/proxy/$id"
521-
} else {
522-
origHref
523-
}
524-
}
525-
526514
/**
527515
* Remove suspicious characters of user input to prevent Cross-Site scripting (XSS) attacks
528516
*

0 commit comments

Comments
 (0)