diff options
author | Paul Phillips <paulp@improving.org> | 2009-11-25 16:41:47 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-11-25 16:41:47 +0000 |
commit | 7f3922f39ab597c4a4fb87acdfdc6c8eb30c3ba3 (patch) | |
tree | 6a8c3d5b63f5866a7b4d913f7296c6fa4f51ebc1 /src/library | |
parent | 1f162e940c373007be2d24c36b6f6bfe49cb1486 (diff) | |
download | scala-7f3922f39ab597c4a4fb87acdfdc6c8eb30c3ba3.tar.gz scala-7f3922f39ab597c4a4fb87acdfdc6c8eb30c3ba3.tar.bz2 scala-7f3922f39ab597c4a4fb87acdfdc6c8eb30c3ba3.zip |
Updating deprecated usages in new scaladoc code.
as inspiration to chase down a few spots using get and getOrElse in
suboptimal fashion.
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/xml/Utility.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/xml/Utility.scala b/src/library/scala/xml/Utility.scala index 2613da6c61..012f368aa8 100644 --- a/src/library/scala/xml/Utility.scala +++ b/src/library/scala/xml/Utility.scala @@ -122,7 +122,7 @@ object Utility extends AnyRef with parsing.TokenTests * entity. */ final def unescape(ref: String, s: StringBuilder): StringBuilder = - (unescMap get ref) map (s append _) getOrElse null + (unescMap get ref) map (s append _) orNull /** * Returns a set of all namespaces used in a sequence of nodes |