From 3c405ab57ea9e68b3eb0fa5c322c75fa6e306b48 Mon Sep 17 00:00:00 2001 From: Dominik Gruntz Date: Thu, 5 Apr 2012 14:46:16 +0200 Subject: Fixed broken links in sources of scala/annotation --- src/library/scala/annotation/ClassfileAnnotation.scala | 2 +- src/library/scala/annotation/switch.scala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/library/scala/annotation') 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: {{{ -- cgit v1.2.3