diff options
author | stepancheg <stepancheg@epfl.ch> | 2009-02-22 20:07:53 +0000 |
---|---|---|
committer | stepancheg <stepancheg@epfl.ch> | 2009-02-22 20:07:53 +0000 |
commit | dad1f88d8ee9e106bd630afdc29684f6734379c6 (patch) | |
tree | 83a7458548533d115d8168e522f819c177811121 /src/library | |
parent | 502a422b3fd668a7d0c07a7b4f3c4cecdbf5b9ca (diff) | |
download | scala-dad1f88d8ee9e106bd630afdc29684f6734379c6.tar.gz scala-dad1f88d8ee9e106bd630afdc29684f6734379c6.tar.bz2 scala-dad1f88d8ee9e106bd630afdc29684f6734379c6.zip |
scala.util.Properties.versionString: fix defaul...
scala.util.Properties.versionString: fix default value that is used if
library.properties file cannot be loaded
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/util/Properties.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/util/Properties.scala b/src/library/scala/util/Properties.scala index 65d54e388f..5bbb898651 100644 --- a/src/library/scala/util/Properties.scala +++ b/src/library/scala/util/Properties.scala @@ -35,7 +35,7 @@ object Properties { */ val versionString: String = { val defaultString = "(unknown)" - "version " + props.getProperty("version.number") + "version " + props.getProperty("version.number", defaultString) } val copyrightString: String = { |