diff options
author | Paul Phillips <paulp@improving.org> | 2009-06-10 22:27:43 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-06-10 22:27:43 +0000 |
commit | 9e8835d617f1176290ad83691146af1f14f6faff (patch) | |
tree | 236cf31f1c5e299bf96bbd6255e460f3d72b5bc5 /src/library/scala/util/DynamicVariable.scala | |
parent | a46b8b15010eb523cedd8dd23ff7423ca5c73942 (diff) | |
download | scala-9e8835d617f1176290ad83691146af1f14f6faff.tar.gz scala-9e8835d617f1176290ad83691146af1f14f6faff.tar.bz2 scala-9e8835d617f1176290ad83691146af1f14f6faff.zip |
Fixed #2051.
Diffstat (limited to 'src/library/scala/util/DynamicVariable.scala')
-rw-r--r-- | src/library/scala/util/DynamicVariable.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/util/DynamicVariable.scala b/src/library/scala/util/DynamicVariable.scala index f12aa1146f..2afaaf2303 100644 --- a/src/library/scala/util/DynamicVariable.scala +++ b/src/library/scala/util/DynamicVariable.scala @@ -42,8 +42,8 @@ import java.lang.InheritableThreadLocal * </pre></blockquote> * <p> * Each thread gets its own stack of bindings. When a - * new thread is created, the fluid gets a copy of - * the stack of bindings from the parent thread, and + * 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. * </p> @@ -63,7 +63,7 @@ class DynamicVariable[T](init: T) { /** Set the value of the variable while executing the specified * thunk. * - * @param newval The value to which to set the fluid + * @param newval The value to which to set the variable * @param thunk The code to evaluate under the new setting */ def withValue[S](newval: T)(thunk: =>S): S = { |