diff options
author | Heather Miller <heather.miller@epfl.ch> | 2012-05-16 10:51:39 +0200 |
---|---|---|
committer | Heather Miller <heather.miller@epfl.ch> | 2012-05-16 10:51:39 +0200 |
commit | 37d6ffbdb0fe81f59a8b015e3beaa8b52033adca (patch) | |
tree | 64ac9a0bb602a0d1a00e540d110a61542b8a6462 /src | |
parent | 99687342fe39e264f406592f78d7b20125660157 (diff) | |
download | scala-37d6ffbdb0fe81f59a8b015e3beaa8b52033adca.tar.gz scala-37d6ffbdb0fe81f59a8b015e3beaa8b52033adca.tar.bz2 scala-37d6ffbdb0fe81f59a8b015e3beaa8b52033adca.zip |
Corrects links in API documentation
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/Function.scala | 2 | ||||
-rw-r--r-- | src/library/scala/Predef.scala | 4 | ||||
-rw-r--r-- | src/library/scala/collection/IterableLike.scala | 6 | ||||
-rw-r--r-- | src/library/scala/collection/Iterator.scala | 2 | ||||
-rw-r--r-- | src/library/scala/collection/SeqLike.scala | 6 | ||||
-rw-r--r-- | src/library/scala/collection/generic/CanBuildFrom.scala | 2 | ||||
-rw-r--r-- | src/library/scala/collection/generic/GenericCompanion.scala | 2 | ||||
-rw-r--r-- | src/library/scala/sys/package.scala | 2 | ||||
-rw-r--r-- | src/library/scala/util/MurmurHash3.scala | 2 | ||||
-rw-r--r-- | src/library/scala/util/parsing/combinator/lexical/StdLexical.scala | 4 | ||||
-rwxr-xr-x | src/library/scala/xml/Node.scala | 2 |
11 files changed, 16 insertions, 18 deletions
diff --git a/src/library/scala/Function.scala b/src/library/scala/Function.scala index 9ad2bc49ea..270581a3aa 100644 --- a/src/library/scala/Function.scala +++ b/src/library/scala/Function.scala @@ -37,7 +37,7 @@ object Function { * @param f a function `T => Option[R]` * @return a partial function defined for those inputs where * f returns `Some(_)` and undefined where `f` returns `None`. - * @see [[scala.PartialFunction#lift]] + * @see [[scala.PartialFunction]], method `lift`. */ def unlift[T, R](f: T => Option[R]): PartialFunction[T, R] = PartialFunction.unlifted(f) diff --git a/src/library/scala/Predef.scala b/src/library/scala/Predef.scala index 30ad703c4a..c08462ac1b 100644 --- a/src/library/scala/Predef.scala +++ b/src/library/scala/Predef.scala @@ -451,14 +451,14 @@ object Predef extends LowPriorityImplicits { } /** A type for which there is always an implicit value. - * @see fallbackCanBuildFrom in Array.scala + * @see [[scala.Array$]], method `fallbackCanBuildFrom` */ class DummyImplicit object DummyImplicit { /** An implicit value yielding a `DummyImplicit`. - * @see fallbackCanBuildFrom in Array.scala + * @see [[scala.Array$]], method `fallbackCanBuildFrom` */ implicit def dummyImplicit: DummyImplicit = new DummyImplicit } diff --git a/src/library/scala/collection/IterableLike.scala b/src/library/scala/collection/IterableLike.scala index 0a5d9fc23c..2e9599058f 100644 --- a/src/library/scala/collection/IterableLike.scala +++ b/src/library/scala/collection/IterableLike.scala @@ -148,7 +148,7 @@ self => } /** Partitions elements in fixed size ${coll}s. - * @see Iterator#grouped + * @see [[scala.collection.Iterator]], method `grouped` * * @param size the number of elements per group * @return An iterator producing ${coll}s of size `size`, except the @@ -163,7 +163,7 @@ self => /** Groups elements in fixed size blocks by passing a "sliding window" * over them (as opposed to partitioning them, as is done in grouped.) - * @see Iterator#sliding + * @see [[scala.collection.Iterator]], method `sliding` * * @param size the number of elements per group * @return An iterator producing ${coll}s of size `size`, except the @@ -174,7 +174,7 @@ self => /** Groups elements in fixed size blocks by passing a "sliding window" * over them (as opposed to partitioning them, as is done in grouped.) - * @see Iterator#sliding + * @see [[scala.collection.Iterator]], method `sliding` * * @param size the number of elements per group * @param step the distance between the first elements of successive diff --git a/src/library/scala/collection/Iterator.scala b/src/library/scala/collection/Iterator.scala index 7d5cd9989c..b2bbc8d888 100644 --- a/src/library/scala/collection/Iterator.scala +++ b/src/library/scala/collection/Iterator.scala @@ -824,7 +824,7 @@ trait Iterator[+A] extends TraversableOnce[A] { /** Creates a buffered iterator from this iterator. * - * @see BufferedIterator + * @see [[scala.collection.BufferedIterator]] * @return a buffered iterator producing the same values as this iterator. * @note Reuse: $consumesAndProducesIterator */ diff --git a/src/library/scala/collection/SeqLike.scala b/src/library/scala/collection/SeqLike.scala index f64e1d780c..c87726ef2c 100644 --- a/src/library/scala/collection/SeqLike.scala +++ b/src/library/scala/collection/SeqLike.scala @@ -566,7 +566,7 @@ trait SeqLike[+A, +Repr] extends Any with IterableLike[A, Repr] with GenSeqLike[ /** Sorts this $Coll according to the Ordering which results from transforming * an implicitly given Ordering with a transformation function. - * @see scala.math.Ordering + * @see [[scala.math.Ordering]] * $willNotTerminateInf * @param f the transformation function mapping elements * to some other domain `B`. @@ -591,7 +591,7 @@ trait SeqLike[+A, +Repr] extends Any with IterableLike[A, Repr] with GenSeqLike[ * The sort is stable. That is, elements that are equal (as determined by * `lt`) appear in the same order in the sorted sequence as in the original. * - * @see scala.math.Ordering + * @see [[scala.math.Ordering]] * * @param ord the ordering to be used to compare elements. * @return a $coll consisting of the elements of this $coll @@ -852,7 +852,7 @@ object SeqLike { /** Finds a particular index at which one sequence occurs in another sequence. * Like `indexOf`, but finds the latest occurrence rather than earliest. * - * @see SeqLike#indexOf + * @see [[scala.collection.SeqLike], method `indexOf` */ def lastIndexOf[B]( source: Seq[B], sourceOffset: Int, sourceCount: Int, diff --git a/src/library/scala/collection/generic/CanBuildFrom.scala b/src/library/scala/collection/generic/CanBuildFrom.scala index 3a335f357a..f3eff03d89 100644 --- a/src/library/scala/collection/generic/CanBuildFrom.scala +++ b/src/library/scala/collection/generic/CanBuildFrom.scala @@ -20,7 +20,7 @@ import scala.annotation.implicitNotFound * @tparam Elem the element type of the collection to be created. * @tparam To the type of the collection to be created. * - * @see Builder + * @see [[scala.collection.mutable.Builder]] * @author Martin Odersky * @author Adriaan Moors * @since 2.8 diff --git a/src/library/scala/collection/generic/GenericCompanion.scala b/src/library/scala/collection/generic/GenericCompanion.scala index badceac713..1844542315 100644 --- a/src/library/scala/collection/generic/GenericCompanion.scala +++ b/src/library/scala/collection/generic/GenericCompanion.scala @@ -16,7 +16,7 @@ import language.higherKinds * represent an unconstrained higher-kinded type. Typically * such classes inherit from trait `GenericTraversableTemplate`. * @tparam CC The type constructor representing the collection class. - * @see GenericTraversableTemplate + * @see [[scala.collection.generic.GenericTraversableTemplate]] * @author Martin Odersky * @since 2.8 * @define coll collection diff --git a/src/library/scala/sys/package.scala b/src/library/scala/sys/package.scala index b27da8e61d..119ab59c22 100644 --- a/src/library/scala/sys/package.scala +++ b/src/library/scala/sys/package.scala @@ -50,7 +50,7 @@ package object sys { /** A bidirectional, mutable Map representing the current system Properties. * * @return a SystemProperties. - * @see `scala.sys.SystemProperties` + * @see [[scala.sys.SystemProperties]] */ def props: SystemProperties = new SystemProperties diff --git a/src/library/scala/util/MurmurHash3.scala b/src/library/scala/util/MurmurHash3.scala index 33d9d2f0e5..fbb67116dd 100644 --- a/src/library/scala/util/MurmurHash3.scala +++ b/src/library/scala/util/MurmurHash3.scala @@ -19,7 +19,7 @@ import java.lang.Integer.{ rotateLeft => rotl } * to remedy some weaknesses and improve performance. This represents the * latest and supposedly final version of the algortihm (revision 136). * - * @see http://code.google.com/p/smhasher + * @see [[http://code.google.com/p/smhasher]] */ class MurmurHash3 { /** Mix in a block of data into an intermediate hash value. */ diff --git a/src/library/scala/util/parsing/combinator/lexical/StdLexical.scala b/src/library/scala/util/parsing/combinator/lexical/StdLexical.scala index 3ac5c07dc4..5d7386b5c1 100644 --- a/src/library/scala/util/parsing/combinator/lexical/StdLexical.scala +++ b/src/library/scala/util/parsing/combinator/lexical/StdLexical.scala @@ -25,8 +25,8 @@ import scala.collection.mutable * `delimiters` set. * * Usually this component is used to break character-based input into - * bigger tokens, which are then passed to a token-parser {@see - * [[scala.util.parsing.combinator.syntactical.TokenParsers]]}. + * bigger tokens, which are then passed to a token-parser (see + * [[scala.util.parsing.combinator.syntactical.TokenParsers]].) * * @author Martin Odersky * @author Iulian Dragos diff --git a/src/library/scala/xml/Node.scala b/src/library/scala/xml/Node.scala index 7fca644730..9cf1869efc 100755 --- a/src/library/scala/xml/Node.scala +++ b/src/library/scala/xml/Node.scala @@ -162,8 +162,6 @@ abstract class Node extends NodeSeq { /** * Same as `toString('''false''')`. - * - * @see <code><a href="#toString">toString(Boolean)</a></code> */ override def toString(): String = buildString(false) |