summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2015-04-30 20:21:15 +0200
committerGuillaume Martres <smarter@ubuntu.com>2015-04-30 20:21:15 +0200
commit95fe641e4598c1170f6c3d19874330d035656281 (patch)
tree2728a714740ad440aaf96b4d9867d8bb9b55d9c6
parentcac6383e6658dc5956540b76b9b46c3b664774ac (diff)
downloadscala-95fe641e4598c1170f6c3d19874330d035656281.tar.gz
scala-95fe641e4598c1170f6c3d19874330d035656281.tar.bz2
scala-95fe641e4598c1170f6c3d19874330d035656281.zip
Remove references to the old PDF version of the specification
-rw-r--r--src/library/scala/Array.scala2
-rw-r--r--src/reflect/scala/reflect/api/Constants.scala2
-rw-r--r--test/disabled/presentation/timeofday/src/timeofday.scala4
-rw-r--r--test/files/run/reify_timeofday.scala4
4 files changed, 6 insertions, 6 deletions
diff --git a/src/library/scala/Array.scala b/src/library/scala/Array.scala
index 6ab82d998e..d89e9d291d 100644
--- a/src/library/scala/Array.scala
+++ b/src/library/scala/Array.scala
@@ -483,7 +483,7 @@ object Array extends FallbackArrayBuilding {
*
* @author Martin Odersky
* @version 1.0
- * @see [[http://www.scala-lang.org/docu/files/ScalaReference.pdf Scala Language Specification]], for in-depth information on the transformations the Scala compiler makes on Arrays (Sections 6.6 and 6.15 respectively.)
+ * @see [[http://www.scala-lang.org/files/archive/spec/2.11/ Scala Language Specification]], for in-depth information on the transformations the Scala compiler makes on Arrays (Sections 6.6 and 6.15 respectively.)
* @see [[http://docs.scala-lang.org/sips/completed/scala-2-8-arrays.html "Scala 2.8 Arrays"]] the Scala Improvement Document detailing arrays since Scala 2.8.
* @see [[http://docs.scala-lang.org/overviews/collections/arrays.html "The Scala 2.8 Collections' API"]] section on `Array` by Martin Odersky for more information.
* @define coll array
diff --git a/src/reflect/scala/reflect/api/Constants.scala b/src/reflect/scala/reflect/api/Constants.scala
index e73c5ffa91..c942d759ce 100644
--- a/src/reflect/scala/reflect/api/Constants.scala
+++ b/src/reflect/scala/reflect/api/Constants.scala
@@ -95,7 +95,7 @@ trait Constants {
* broken down or evaluated, such as "true", "0", "classOf[List]". Such values become parts of the Scala abstract
* syntax tree representing the program. The constants
* correspond to section 6.24 "Constant Expressions" of the
- * [[http://www.scala-lang.org/docu/files/ScalaReference.pdf Scala language specification]].
+ * [[http://www.scala-lang.org/files/archive/spec/2.11/ Scala Language Specification]].
*
* Such constants are used to represent literals in abstract syntax trees (the [[scala.reflect.api.Trees#Literal]] node)
* and literal arguments for Java class file annotations (the [[scala.reflect.api.Annotations#LiteralArgument]] class).
diff --git a/test/disabled/presentation/timeofday/src/timeofday.scala b/test/disabled/presentation/timeofday/src/timeofday.scala
index d6355097f1..c8dc7cf820 100644
--- a/test/disabled/presentation/timeofday/src/timeofday.scala
+++ b/test/disabled/presentation/timeofday/src/timeofday.scala
@@ -2,7 +2,7 @@ object timeofday {
class DateError extends Exception
/** Simulating properties in Scala
- * (example 4.2.1 in ScalaReference.pdf)
+ * (example 4.2.1 in the Scala Language Specification)
*/
class TimeOfDayVar {
private var h, m, s: Int = 0
@@ -32,4 +32,4 @@ object timeofday {
d.hours = 8; d./*!*/minutes = 30; d.seconds = 0
d.hours/*#*/ = 25 // throws a DateError exception
}
-} \ No newline at end of file
+}
diff --git a/test/files/run/reify_timeofday.scala b/test/files/run/reify_timeofday.scala
index efeb81debf..4950ebfae1 100644
--- a/test/files/run/reify_timeofday.scala
+++ b/test/files/run/reify_timeofday.scala
@@ -6,7 +6,7 @@ object Test extends App {
class DateError extends Exception
/** Simulating properties in Scala
- * (example 4.2.1 in ScalaReference.pdf)
+ * (example 4.2.1 in the Scala Language Specification)
*/
class TimeOfDayVar {
private var h, m, s: Int = 0
@@ -39,4 +39,4 @@ object Test extends App {
case e: Exception => println("Exception")
}
}.eval
-} \ No newline at end of file
+}