summaryrefslogtreecommitdiff
path: root/src/library/scala/annotation
diff options
context:
space:
mode:
authorDominik Gruntz <dominik.gruntz@fhnw.ch>2012-04-05 14:46:16 +0200
committerDominik Gruntz <dominik.gruntz@fhnw.ch>2012-04-05 14:46:16 +0200
commit3c405ab57ea9e68b3eb0fa5c322c75fa6e306b48 (patch)
tree894e17fedc3a90227c1327d4454c731f8d03a8d6 /src/library/scala/annotation
parentd078b58961014c5eaa7540c4cec733679dc8965c (diff)
downloadscala-3c405ab57ea9e68b3eb0fa5c322c75fa6e306b48.tar.gz
scala-3c405ab57ea9e68b3eb0fa5c322c75fa6e306b48.tar.bz2
scala-3c405ab57ea9e68b3eb0fa5c322c75fa6e306b48.zip
Fixed broken links in sources of scala/annotation
Diffstat (limited to 'src/library/scala/annotation')
-rw-r--r--src/library/scala/annotation/ClassfileAnnotation.scala2
-rw-r--r--src/library/scala/annotation/switch.scala4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/annotation/ClassfileAnnotation.scala b/src/library/scala/annotation/ClassfileAnnotation.scala
index 582e51996a..2fde5aae80 100644
--- a/src/library/scala/annotation/ClassfileAnnotation.scala
+++ b/src/library/scala/annotation/ClassfileAnnotation.scala
@@ -9,7 +9,7 @@
package scala.annotation
/** A base class for classfile annotations. These are stored as
- * [[http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html#_top Java annotations]]]
+ * [[http://docs.oracle.com/javase/7/docs/technotes/guides/language/annotations.html#_top Java annotations]]]
* in classfiles.
*
* @author Martin Odersky
diff --git a/src/library/scala/annotation/switch.scala b/src/library/scala/annotation/switch.scala
index 3734686b27..ee068f50d4 100644
--- a/src/library/scala/annotation/switch.scala
+++ b/src/library/scala/annotation/switch.scala
@@ -9,8 +9,8 @@ package scala.annotation
/** An annotation to be applied to a match expression. If present,
* the compiler will verify that the match has been compiled to a
- * [[http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc14.html tableswitch]]
- * or [[http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc8.html#lookupswitch lookupswitch]]
+ * [[http://docs.oracle.com/javase/specs/jvms/se5.0/html/Instructions2.doc14.html tableswitch]]
+ * or [[http://docs.oracle.com/javase/specs/jvms/se5.0/html/Instructions2.doc8.html#lookupswitch lookupswitch]]
* and issue an error if it instead compiles into a series of conditional expressions.
* Example usage:
{{{