diff options
author | Jean-Remi Desjardins <jeanremi.desjardins@gmail.com> | 2012-11-25 18:59:03 -0500 |
---|---|---|
committer | Jean-Remi Desjardins <jeanremi.desjardins@gmail.com> | 2012-12-01 00:26:28 -0500 |
commit | 0b92073a38f9d1823f051ac18173078bfcfafc8a (patch) | |
tree | 269eb862dc3e76b9015f1e9f35ccff4216755b0e | |
parent | f16f4ab157293ac6860d4b00578b983c90b8fc62 (diff) | |
download | scala-0b92073a38f9d1823f051ac18173078bfcfafc8a.tar.gz scala-0b92073a38f9d1823f051ac18173078bfcfafc8a.tar.bz2 scala-0b92073a38f9d1823f051ac18173078bfcfafc8a.zip |
SI-4664 Make scala.util.Random Serializable
-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)) |