summaryrefslogtreecommitdiff
path: root/test/files/jvm/t1600.scala
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2012-09-18 03:44:59 +0200
committerSimon Ochsenreither <simon@ochsenreither.de>2012-10-08 05:25:05 +0200
commite3cec78518a0529152fe6beda3cc6c9a14ea0f9b (patch)
tree698c3061231891efc96d10eb70792b857a6cf2db /test/files/jvm/t1600.scala
parentc52f91ca0db573fdfc879ae199a237db256d7523 (diff)
downloadscala-e3cec78518a0529152fe6beda3cc6c9a14ea0f9b.tar.gz
scala-e3cec78518a0529152fe6beda3cc6c9a14ea0f9b.tar.bz2
scala-e3cec78518a0529152fe6beda3cc6c9a14ea0f9b.zip
SI-6388 Remove first parts of deprecated @serializable annotation
Diffstat (limited to 'test/files/jvm/t1600.scala')
-rw-r--r--test/files/jvm/t1600.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/jvm/t1600.scala b/test/files/jvm/t1600.scala
index 7e23687425..69179c1ba4 100644
--- a/test/files/jvm/t1600.scala
+++ b/test/files/jvm/t1600.scala
@@ -69,8 +69,7 @@ object Test {
var hashCodeModifier = 0
}
- @serializable
- class Foo {
+ class Foo extends Serializable {
override def hashCode = System.identityHashCode(this) + Foo.hashCodeModifier
}
}