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(
119
119
120
120
private [spark] def appUIAddress = " http://" + publicHost + " :" + boundPort
121
121
122
-
123
122
}
124
123
125
124
private [spark] object SparkUI {
Original file line number Diff line number Diff line change @@ -25,12 +25,11 @@ class SparkUISuite extends FunSuite with SharedSparkContext {
25
25
26
26
test(" verify appUIHostPort doesn't contain scheme" ) {
27
27
val appUIUri = new URI (sc.ui.appUIHostPort)
28
- assert(appUIUri.getScheme().startsWith(" http" ) == false )
28
+ assert(! appUIUri.getScheme().startsWith(" http" ))
29
29
}
30
30
31
31
test(" verify appUIAddress contains the scheme" ) {
32
32
val appUIUri = new URI (sc.ui.appUIAddress)
33
- assert(appUIUri.getScheme().startsWith(" http" ) == true )
33
+ assert(appUIUri.getScheme().startsWith(" http" ))
34
34
}
35
-
36
35
}
You can’t perform that action at this time.
0 commit comments