diff options
author | Paul Phillips <paulp@improving.org> | 2010-10-16 19:02:41 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-10-16 19:02:41 +0000 |
commit | 5cdb213d7d24ae357c518823e1054cb302b250eb (patch) | |
tree | 90812d869840df297b4fa9afa0a7dae43ddc1d9a /src/library/scala/Product11.scala | |
parent | 87134363a20bc81297037d8858ee88e961f255f9 (diff) | |
download | scala-5cdb213d7d24ae357c518823e1054cb302b250eb.tar.gz scala-5cdb213d7d24ae357c518823e1054cb302b250eb.tar.bz2 scala-5cdb213d7d24ae357c518823e1054cb302b250eb.zip |
Documentation being generated by genprod was pr...
Documentation being generated by genprod was pretty busted both in terms
of formatting and correctness. Spruced it up. Eliminated some of the
more distracting HTML entities in compiler source. No review.
Diffstat (limited to 'src/library/scala/Product11.scala')
-rw-r--r-- | src/library/scala/Product11.scala | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/library/scala/Product11.scala b/src/library/scala/Product11.scala index 604bf8382d..c5460ae86b 100644 --- a/src/library/scala/Product11.scala +++ b/src/library/scala/Product11.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product11[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11] extends */ override def productArity = 11 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 |