diff options
author | michelou <michelou@epfl.ch> | 2007-04-10 15:53:35 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-04-10 15:53:35 +0000 |
commit | 10cbf9df8d32e7e2af44ef412239e21824fdaec3 (patch) | |
tree | d2ef67c5185931ab4251cd893e197e8c02c69a6a /test/files/jvm5/annotations.scala | |
parent | 1f2b7055e45dc6dff6540f611cd5a631ea3e1fdb (diff) | |
download | scala-10cbf9df8d32e7e2af44ef412239e21824fdaec3.tar.gz scala-10cbf9df8d32e7e2af44ef412239e21824fdaec3.tar.bz2 scala-10cbf9df8d32e7e2af44ef412239e21824fdaec3.zip |
added options to scaladoc Ant task
removed several unchecked warnings
Diffstat (limited to 'test/files/jvm5/annotations.scala')
-rw-r--r-- | test/files/jvm5/annotations.scala | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/files/jvm5/annotations.scala b/test/files/jvm5/annotations.scala index e81aa863a8..a58921adef 100644 --- a/test/files/jvm5/annotations.scala +++ b/test/files/jvm5/annotations.scala @@ -1,5 +1,3 @@ -import java.lang.Deprecated - object Test1 { class Foo { @remote @@ -37,6 +35,7 @@ public class Main { } */ object Test3 { + import java.lang.Deprecated class Foo { @Deprecated def foo: Unit = () @@ -62,13 +61,13 @@ public class Main { Annotation[] annotations = clazz.getAnnotations(); for (int i = 0; i < annotations.length; i++) System.out.println(annotations[i]); - // @test.Main$Source(url=http://scala.epfl.ch, mail=scala@lists.epfl.ch) + // @test.Main$Source(url=http://scala-lang.org, mail=scala@lists.epfl.ch) } } */ object Test4 { import test.SourceAnnotation // defined in SourceAnnotation.java - @SourceAnnotation{val value = "http://scala.epfl.ch", val mail = "scala@lists.epfl.ch"} + @SourceAnnotation{val value = "http://scala-lang.org", val mail = "scala@lists.epfl.ch"} class Foo1 @SourceAnnotation("http://bloodsuckers.com") { val mail = "you@bloodsuckers.com" } class Foo2 |