-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove outdated runtime Information scala home
Author: witgo <[email protected]> Closes #728 from witgo/scala_home and squashes the following commits: cdfd8be [witgo] Merge branch 'master' of https://github.com/apache/spark into scala_home fac094a [witgo] remove outdated runtime Information scala home
- Loading branch information
Showing
1 changed file
with
1 addition
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -281,8 +281,7 @@ object SparkEnv extends Logging { | |
val jvmInformation = Seq( | ||
("Java Version", "%s (%s)".format(Properties.javaVersion, Properties.javaVendor)), | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
witgo
Author
Contributor
|
||
("Java Home", Properties.javaHome), | ||
("Scala Version", Properties.versionString), | ||
("Scala Home", Properties.scalaHome) | ||
("Scala Version", Properties.versionString) | ||
).sorted | ||
|
||
// Spark properties | ||
|
I think using string interpolation would be way easier to read (though it's not very hard now):
With
import Properties._
it'd get additional readability.