File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
main/scala/org/apache/spark/ui
test/scala/org/apache/spark Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ private[spark] class SparkUI(
119119
120120 private [spark] def appUIAddress = " http://" + publicHost + " :" + boundPort
121121
122-
123122}
124123
125124private [spark] object SparkUI {
Original file line number Diff line number Diff line change @@ -25,12 +25,11 @@ class SparkUISuite extends FunSuite with SharedSparkContext {
2525
2626 test(" verify appUIHostPort doesn't contain scheme" ) {
2727 val appUIUri = new URI (sc.ui.appUIHostPort)
28- assert(appUIUri.getScheme().startsWith(" http" ) == false )
28+ assert(! appUIUri.getScheme().startsWith(" http" ))
2929 }
3030
3131 test(" verify appUIAddress contains the scheme" ) {
3232 val appUIUri = new URI (sc.ui.appUIAddress)
33- assert(appUIUri.getScheme().startsWith(" http" ) == true )
33+ assert(appUIUri.getScheme().startsWith(" http" ))
3434 }
35-
3635}
You can’t perform that action at this time.
0 commit comments