summaryrefslogtreecommitdiff
path: root/src/library/scala/util/DynamicVariable.scala
diff options
context:
space:
mode:
authorKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-06-18 14:32:44 +0000
committerKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-06-18 14:32:44 +0000
commit1db8243e72c0a4e780841e6b6de8bcff9ea4f768 (patch)
tree180467a0cedbbdb8790345ea9004ab48f16b04d9 /src/library/scala/util/DynamicVariable.scala
parent3a63a796c84a8230d457b47fccfc54372950e485 (diff)
downloadscala-1db8243e72c0a4e780841e6b6de8bcff9ea4f768.tar.gz
scala-1db8243e72c0a4e780841e6b6de8bcff9ea4f768.tar.bz2
scala-1db8243e72c0a4e780841e6b6de8bcff9ea4f768.zip
Formatting fixes for scala.util.
Diffstat (limited to 'src/library/scala/util/DynamicVariable.scala')
-rw-r--r--src/library/scala/util/DynamicVariable.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/library/scala/util/DynamicVariable.scala b/src/library/scala/util/DynamicVariable.scala
index fa9d17a4e9..740e2a3b3a 100644
--- a/src/library/scala/util/DynamicVariable.scala
+++ b/src/library/scala/util/DynamicVariable.scala
@@ -10,13 +10,13 @@ package scala.util
import java.lang.InheritableThreadLocal
-/** DynamicVariables provide a binding mechanism where the current
+/** `DynamicVariables` provide a binding mechanism where the current
* value is found through dynamic scope, but where access to the
* variable itself is resolved through static scope.
*
- * The current value can be retrieved with the value method. New values
- * should be pushed using the withValue method. Values pushed via
- * withValue only stay valid while the withValue's second argument, a
+ * The current value can be retrieved with the value method. New values
+ * should be pushed using the `withValue` method. Values pushed via
+ * `withValue` only stay valid while the `withValue`'s second argument, a
* parameterless closure, executes. When the second argument finishes,
* the variable reverts to the previous value.
*
@@ -28,7 +28,7 @@ import java.lang.InheritableThreadLocal
* }}}
*
* Each thread gets its own stack of bindings. When a
- * new thread is created, the DynamicVariable gets a copy
+ * new thread is created, the `DynamicVariable` gets a copy
* of the stack of bindings from the parent thread, and
* from then on the bindings for the new thread
* are independent of those for the original thread.