diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2012-12-10 12:02:29 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2012-12-10 12:02:29 -0800 |
commit | 9a5eb7ee0b4f2f079f00262421ce25912a11b9f7 (patch) | |
tree | 64048c27aedecdc5c0fa6b17bda8c0e63249e77e /src | |
parent | 2aac703b37aa26c928f2ca712afe6e1aeda604d2 (diff) | |
parent | 2aa66bec86fd464712b0d15251cc400ff9d52821 (diff) | |
download | scala-9a5eb7ee0b4f2f079f00262421ce25912a11b9f7.tar.gz scala-9a5eb7ee0b4f2f079f00262421ce25912a11b9f7.tar.bz2 scala-9a5eb7ee0b4f2f079f00262421ce25912a11b9f7.zip |
Merge pull request #1672 from jedesah/Random
SI-4664 Make scala.util.Random Serializable
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/util/Random.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/util/Random.scala b/src/library/scala/util/Random.scala index 24c4cd7a32..2b11594f66 100644 --- a/src/library/scala/util/Random.scala +++ b/src/library/scala/util/Random.scala @@ -17,7 +17,7 @@ import scala.language.{implicitConversions, higherKinds} * @author Stephane Micheloud * */ -class Random(val self: java.util.Random) { +class Random(val self: java.util.Random) extends AnyRef with Serializable { /** Creates a new random number generator using a single long seed. */ def this(seed: Long) = this(new java.util.Random(seed)) |