diff options
Diffstat (limited to 'src/library/scala/Product12.scala')
-rw-r--r-- | src/library/scala/Product12.scala | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/library/scala/Product12.scala b/src/library/scala/Product12.scala index 7781d4e84f..c289ce5f7f 100644 --- a/src/library/scala/Product12.scala +++ b/src/library/scala/Product12.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 Product12[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12] e */ override def productArity = 12 + /** - * 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 |