diff options
57 files changed, 160 insertions, 551 deletions
diff --git a/src/build/genprod.scala b/src/build/genprod.scala index b2f3d2de9d..cd18bee7b7 100644 --- a/src/build/genprod.scala +++ b/src/build/genprod.scala @@ -285,7 +285,7 @@ object ProductFile { /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ @@ -311,12 +311,6 @@ trait {productClassname(i)}{__typeArgs__} extends Product {{ * The arity of this product. * @return {i} */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return {i} - */ override def productArity = {i} /** @@ -327,16 +321,6 @@ trait {productClassname(i)}{__typeArgs__} extends Product {{ * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0&lt;=n&lt;arity, - * otherwise <code>null</code>. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match {{ {for (Tuple2(m, j) <- mdefs(i).zip(List.range(0, i))) yield "case "+j+" => "+m+"\n "}case _ => throw new IndexOutOfBoundsException(n.toString()) diff --git a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala index 07b95fe0f7..3446443628 100644 --- a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala +++ b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala @@ -1,5 +1,5 @@ /* NSC -- new Scala compiler - * Copyright 2005-2006 LAMP/EPFL + * Copyright 2005-2007 LAMP/EPFL * @author Martin Odersky */ // $Id$ @@ -7,7 +7,6 @@ package scala.tools.nsc.typechecker import symtab.Flags._ -import util.FreshNameCreator import scala.collection.mutable.ListBuffer /** <ul> @@ -73,29 +72,11 @@ trait SyntheticMethods requires Analyzer { typed(DefDef(method, vparamss => Literal(Constant(clazz.name.decode)))) } - /*deprecated*/ def OLDproductArityMethod(nargs:Int ): Tree = { - val method = syntheticMethod("arity", FINAL, PolyType(List(), IntClass.tpe)) - typed(DefDef(method, vparamss => Literal(Constant(nargs)))) - } - def productArityMethod(nargs:Int ): Tree = { val method = syntheticMethod(nme.productArity, FINAL, PolyType(List(), IntClass.tpe)) typed(DefDef(method, vparamss => Literal(Constant(nargs)))) } - /*deprecated*/ def OLDproductElementMethod(accs: List[Symbol]): Tree = { - //val retTpe = lub(accs map (.tpe.resultType)) - val method = syntheticMethod("element", FINAL, MethodType(List(IntClass.tpe), AnyClass.tpe/*retTpe*/)) - typed(DefDef(method, vparamss => Match(Ident(vparamss.head.head), { - (for(val (sym,i) <- accs.zipWithIndex) yield { - CaseDef(Literal(Constant(i)),EmptyTree, Ident(sym)) - }):::List(CaseDef(Ident(nme.WILDCARD), EmptyTree, - Throw(New(TypeTree(IndexOutOfBoundsExceptionClass.tpe), List(List( - Select(Ident(vparamss.head.head), nme.toString_) - )))))) - }))) - } - def productElementMethod(accs: List[Symbol]): Tree = { //val retTpe = lub(accs map (.tpe.resultType)) val method = syntheticMethod(nme.productElement, FINAL, MethodType(List(IntClass.tpe), AnyClass.tpe/*retTpe*/)) @@ -249,12 +230,8 @@ trait SyntheticMethods requires Analyzer { if (!hasOverridingImplementation(Product_productPrefix)) ts += productPrefixMethod val accessors = clazz.caseFieldAccessors - if (!hasImplementation("arity")) // remove after starr update - ts += OLDproductArityMethod(accessors.length) if (!hasOverridingImplementation(Product_productArity)) ts += productArityMethod(accessors.length) - if (!hasImplementation("element")) // remove after starr update - ts += OLDproductElementMethod(accessors) if (!hasOverridingImplementation(Product_productElement)) ts += productElementMethod(accessors) } diff --git a/src/library/scala/Function0.scala b/src/library/scala/Function0.scala index 67e3657d93..e6194e01f1 100644 --- a/src/library/scala/Function0.scala +++ b/src/library/scala/Function0.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 (with fancy comment) +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 (with fancy comment) package scala diff --git a/src/library/scala/Function1.scala b/src/library/scala/Function1.scala index 138013dd4e..3909fda336 100644 --- a/src/library/scala/Function1.scala +++ b/src/library/scala/Function1.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 (with fancy comment) (with extra methods) +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 (with fancy comment) (with extra methods) package scala diff --git a/src/library/scala/Function2.scala b/src/library/scala/Function2.scala index e6f2c693e9..17d2756dfc 100644 --- a/src/library/scala/Function2.scala +++ b/src/library/scala/Function2.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 (with fancy comment) +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 (with fancy comment) package scala diff --git a/src/library/scala/Function3.scala b/src/library/scala/Function3.scala index 2f0ce8187e..d9ea29d31d 100644 --- a/src/library/scala/Function3.scala +++ b/src/library/scala/Function3.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Function4.scala b/src/library/scala/Function4.scala index c081503090..41751da2b9 100644 --- a/src/library/scala/Function4.scala +++ b/src/library/scala/Function4.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Function5.scala b/src/library/scala/Function5.scala index 96af279ebe..26258b2747 100644 --- a/src/library/scala/Function5.scala +++ b/src/library/scala/Function5.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Function6.scala b/src/library/scala/Function6.scala index 855c477330..f48fa00b21 100644 --- a/src/library/scala/Function6.scala +++ b/src/library/scala/Function6.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Function7.scala b/src/library/scala/Function7.scala index afdde42ce6..c15734732a 100644 --- a/src/library/scala/Function7.scala +++ b/src/library/scala/Function7.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Function8.scala b/src/library/scala/Function8.scala index cf5fac110f..378d5f4cca 100644 --- a/src/library/scala/Function8.scala +++ b/src/library/scala/Function8.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Product.scala b/src/library/scala/Product.scala index 96e989284f..65567a6616 100644 --- a/src/library/scala/Product.scala +++ b/src/library/scala/Product.scala @@ -1,7 +1,7 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ @@ -26,7 +26,7 @@ trait Product extends AnyRef { * @throws IndexOutOfBoundsException * @return ... */ - def productElement(n: Int): Any = element(n) + def productElement(n: Int): Any /** for a case class <code>A(x_1,...,x_k))</code>, returns <code>x_(i+1)</code> * for <code>0 <= i < k</code> @@ -35,15 +35,15 @@ trait Product extends AnyRef { * @throws IndexOutOfBoundsException * @return ... */ - @deprecated def element(n: Int): Any /* = productElement(n) */ + @deprecated def element(n: Int): Any = productElement(n) /** return k for a product <code>A(x_1,...,x_k))</code> */ - def productArity: Int = arity + def productArity: Int /** return k for a product <code>A(x_1,...,x_k))</code> */ - @deprecated def arity: Int /* = productElement(n) */ + @deprecated def arity: Int = productArity /** * By default the empty string. Implementations may override this diff --git a/src/library/scala/Product1.scala b/src/library/scala/Product1.scala index e8e669a9d6..05ccc8f522 100644 --- a/src/library/scala/Product1.scala +++ b/src/library/scala/Product1.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product1[+T1] extends Product { * The arity of this product. * @return 1 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 1 - */ override def productArity = 1 /** @@ -44,16 +38,6 @@ trait Product1[+T1] extends Product { * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case _ => throw new IndexOutOfBoundsException(n.toString()) diff --git a/src/library/scala/Product10.scala b/src/library/scala/Product10.scala index a2e9c8277b..6a82c7403d 100644 --- a/src/library/scala/Product10.scala +++ b/src/library/scala/Product10.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product10[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10] extends Produ * The arity of this product. * @return 10 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 10 - */ override def productArity = 10 /** @@ -44,16 +38,6 @@ trait Product10[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10] extends Produ * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product11.scala b/src/library/scala/Product11.scala index 36b434ff0b..14218e22fb 100644 --- a/src/library/scala/Product11.scala +++ b/src/library/scala/Product11.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product11[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11] extends * The arity of this product. * @return 11 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 11 - */ override def productArity = 11 /** @@ -44,16 +38,6 @@ trait Product11[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11] extends * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product12.scala b/src/library/scala/Product12.scala index 92a473ba42..8a2c0e1723 100644 --- a/src/library/scala/Product12.scala +++ b/src/library/scala/Product12.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product12[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12] e * The arity of this product. * @return 12 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 12 - */ override def productArity = 12 /** @@ -44,16 +38,6 @@ trait Product12[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12] e * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product13.scala b/src/library/scala/Product13.scala index 0f4b3ae4ab..dcb4d57484 100644 --- a/src/library/scala/Product13.scala +++ b/src/library/scala/Product13.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product13[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 13 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 13 - */ override def productArity = 13 /** @@ -44,16 +38,6 @@ trait Product13[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product14.scala b/src/library/scala/Product14.scala index 90e0945dec..dc420172a9 100644 --- a/src/library/scala/Product14.scala +++ b/src/library/scala/Product14.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product14[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 14 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 14 - */ override def productArity = 14 /** @@ -44,16 +38,6 @@ trait Product14[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product15.scala b/src/library/scala/Product15.scala index 37087bc0a1..6cba523231 100644 --- a/src/library/scala/Product15.scala +++ b/src/library/scala/Product15.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product15[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 15 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 15 - */ override def productArity = 15 /** @@ -44,16 +38,6 @@ trait Product15[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product16.scala b/src/library/scala/Product16.scala index 87341585a8..9e1be5ac76 100644 --- a/src/library/scala/Product16.scala +++ b/src/library/scala/Product16.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product16[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 16 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 16 - */ override def productArity = 16 /** @@ -44,16 +38,6 @@ trait Product16[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product17.scala b/src/library/scala/Product17.scala index 1461788eee..08adcbb814 100644 --- a/src/library/scala/Product17.scala +++ b/src/library/scala/Product17.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product17[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 17 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 17 - */ override def productArity = 17 /** @@ -44,16 +38,6 @@ trait Product17[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product18.scala b/src/library/scala/Product18.scala index e60e1630dc..df2d2a5c26 100644 --- a/src/library/scala/Product18.scala +++ b/src/library/scala/Product18.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product18[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 18 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 18 - */ override def productArity = 18 /** @@ -44,16 +38,6 @@ trait Product18[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product19.scala b/src/library/scala/Product19.scala index 4000c47f4a..a473cfc750 100644 --- a/src/library/scala/Product19.scala +++ b/src/library/scala/Product19.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product19[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 19 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 19 - */ override def productArity = 19 /** @@ -44,16 +38,6 @@ trait Product19[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product2.scala b/src/library/scala/Product2.scala index 108ad443ae..39061aebde 100644 --- a/src/library/scala/Product2.scala +++ b/src/library/scala/Product2.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product2[+T1, +T2] extends Product { * The arity of this product. * @return 2 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 2 - */ override def productArity = 2 /** @@ -44,16 +38,6 @@ trait Product2[+T1, +T2] extends Product { * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product20.scala b/src/library/scala/Product20.scala index 7fd355b462..93eaf267ce 100644 --- a/src/library/scala/Product20.scala +++ b/src/library/scala/Product20.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product20[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 20 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 20 - */ override def productArity = 20 /** @@ -44,16 +38,6 @@ trait Product20[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product21.scala b/src/library/scala/Product21.scala index da161392af..6eee0516ec 100644 --- a/src/library/scala/Product21.scala +++ b/src/library/scala/Product21.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product21[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 21 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 21 - */ override def productArity = 21 /** @@ -44,16 +38,6 @@ trait Product21[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product22.scala b/src/library/scala/Product22.scala index 1a429d0e6a..3fafce84f2 100644 --- a/src/library/scala/Product22.scala +++ b/src/library/scala/Product22.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product22[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * The arity of this product. * @return 22 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 22 - */ override def productArity = 22 /** @@ -44,16 +38,6 @@ trait Product22[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product3.scala b/src/library/scala/Product3.scala index caf7fd6d73..9cf04c9890 100644 --- a/src/library/scala/Product3.scala +++ b/src/library/scala/Product3.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product3[+T1, +T2, +T3] extends Product { * The arity of this product. * @return 3 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 3 - */ override def productArity = 3 /** @@ -44,16 +38,6 @@ trait Product3[+T1, +T2, +T3] extends Product { * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product4.scala b/src/library/scala/Product4.scala index b65a2c3aed..a50d318527 100644 --- a/src/library/scala/Product4.scala +++ b/src/library/scala/Product4.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product4[+T1, +T2, +T3, +T4] extends Product { * The arity of this product. * @return 4 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 4 - */ override def productArity = 4 /** @@ -44,16 +38,6 @@ trait Product4[+T1, +T2, +T3, +T4] extends Product { * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product5.scala b/src/library/scala/Product5.scala index 3e1fbe3ddd..e393e0f761 100644 --- a/src/library/scala/Product5.scala +++ b/src/library/scala/Product5.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product5[+T1, +T2, +T3, +T4, +T5] extends Product { * The arity of this product. * @return 5 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 5 - */ override def productArity = 5 /** @@ -44,16 +38,6 @@ trait Product5[+T1, +T2, +T3, +T4, +T5] extends Product { * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product6.scala b/src/library/scala/Product6.scala index c158731ce8..110142e9eb 100644 --- a/src/library/scala/Product6.scala +++ b/src/library/scala/Product6.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product6[+T1, +T2, +T3, +T4, +T5, +T6] extends Product { * The arity of this product. * @return 6 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 6 - */ override def productArity = 6 /** @@ -44,16 +38,6 @@ trait Product6[+T1, +T2, +T3, +T4, +T5, +T6] extends Product { * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product7.scala b/src/library/scala/Product7.scala index 9f314d9ea2..e3bb902d39 100644 --- a/src/library/scala/Product7.scala +++ b/src/library/scala/Product7.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product7[+T1, +T2, +T3, +T4, +T5, +T6, +T7] extends Product { * The arity of this product. * @return 7 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 7 - */ override def productArity = 7 /** @@ -44,16 +38,6 @@ trait Product7[+T1, +T2, +T3, +T4, +T5, +T6, +T7] extends Product { * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product8.scala b/src/library/scala/Product8.scala index a747a4c83c..877c6c9ab6 100644 --- a/src/library/scala/Product8.scala +++ b/src/library/scala/Product8.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product8[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8] extends Product { * The arity of this product. * @return 8 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 8 - */ override def productArity = 8 /** @@ -44,16 +38,6 @@ trait Product8[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8] extends Product { * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Product9.scala b/src/library/scala/Product9.scala index db3bc8a656..adfbd2350e 100644 --- a/src/library/scala/Product9.scala +++ b/src/library/scala/Product9.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala @@ -28,12 +28,6 @@ trait Product9[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9] extends Product { * The arity of this product. * @return 9 */ - @deprecated override def arity = productArity - - /** - * The arity of this product. - * @return 9 - */ override def productArity = 9 /** @@ -44,16 +38,6 @@ trait Product9[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9] extends Product { * @return same as _(n+1) * @throws IndexOutOfBoundsException */ - @deprecated override def element(n: Int) = productElement(n) - - /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 diff --git a/src/library/scala/Tuple1.scala b/src/library/scala/Tuple1.scala index 3a8754365a..45e9b0c9fb 100644 --- a/src/library/scala/Tuple1.scala +++ b/src/library/scala/Tuple1.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple10.scala b/src/library/scala/Tuple10.scala index 13e866e60d..7339146214 100644 --- a/src/library/scala/Tuple10.scala +++ b/src/library/scala/Tuple10.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple11.scala b/src/library/scala/Tuple11.scala index 2aaef95c47..b6e929111b 100644 --- a/src/library/scala/Tuple11.scala +++ b/src/library/scala/Tuple11.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple12.scala b/src/library/scala/Tuple12.scala index 5c4564d43b..9e84ae4577 100644 --- a/src/library/scala/Tuple12.scala +++ b/src/library/scala/Tuple12.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple13.scala b/src/library/scala/Tuple13.scala index bdcf47cbeb..4a09e1432d 100644 --- a/src/library/scala/Tuple13.scala +++ b/src/library/scala/Tuple13.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple14.scala b/src/library/scala/Tuple14.scala index a35a426725..3c84d00aeb 100644 --- a/src/library/scala/Tuple14.scala +++ b/src/library/scala/Tuple14.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple15.scala b/src/library/scala/Tuple15.scala index 6b2e622e41..b03c831c0a 100644 --- a/src/library/scala/Tuple15.scala +++ b/src/library/scala/Tuple15.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple16.scala b/src/library/scala/Tuple16.scala index 5d4a2fabdd..05443967de 100644 --- a/src/library/scala/Tuple16.scala +++ b/src/library/scala/Tuple16.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple17.scala b/src/library/scala/Tuple17.scala index 23ad1e48b5..7d3e6b9862 100644 --- a/src/library/scala/Tuple17.scala +++ b/src/library/scala/Tuple17.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple18.scala b/src/library/scala/Tuple18.scala index 401d265a40..07e14ec9ed 100644 --- a/src/library/scala/Tuple18.scala +++ b/src/library/scala/Tuple18.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple19.scala b/src/library/scala/Tuple19.scala index 9068d2323c..e32fb0e238 100644 --- a/src/library/scala/Tuple19.scala +++ b/src/library/scala/Tuple19.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple2.scala b/src/library/scala/Tuple2.scala index b4724985c1..5bb12088d9 100644 --- a/src/library/scala/Tuple2.scala +++ b/src/library/scala/Tuple2.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple20.scala b/src/library/scala/Tuple20.scala index 25920a8250..0ff6e91324 100644 --- a/src/library/scala/Tuple20.scala +++ b/src/library/scala/Tuple20.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple21.scala b/src/library/scala/Tuple21.scala index 11960ba545..f714dfe89a 100644 --- a/src/library/scala/Tuple21.scala +++ b/src/library/scala/Tuple21.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple22.scala b/src/library/scala/Tuple22.scala index 233c04e3b7..e6df5a4a1b 100644 --- a/src/library/scala/Tuple22.scala +++ b/src/library/scala/Tuple22.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// $Id: genprod.scala 10061 2007-02-20 18:06:07 +0100 (Tue, 20 Feb 2007) moors $ +// $Id: genprod.scala 10751 2007-04-19 15:45:58Z michelou $ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple3.scala b/src/library/scala/Tuple3.scala index 9b1e4d1534..d0ce443c5d 100644 --- a/src/library/scala/Tuple3.scala +++ b/src/library/scala/Tuple3.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple4.scala b/src/library/scala/Tuple4.scala index 3377f96044..a87fe7a0e5 100644 --- a/src/library/scala/Tuple4.scala +++ b/src/library/scala/Tuple4.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple5.scala b/src/library/scala/Tuple5.scala index d319450083..22f52da3e9 100644 --- a/src/library/scala/Tuple5.scala +++ b/src/library/scala/Tuple5.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple6.scala b/src/library/scala/Tuple6.scala index 96d4c32f9c..0b73e4d675 100644 --- a/src/library/scala/Tuple6.scala +++ b/src/library/scala/Tuple6.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple7.scala b/src/library/scala/Tuple7.scala index 12b766eec5..638a22c9f7 100644 --- a/src/library/scala/Tuple7.scala +++ b/src/library/scala/Tuple7.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple8.scala b/src/library/scala/Tuple8.scala index 86e8664e87..74c2f26a09 100644 --- a/src/library/scala/Tuple8.scala +++ b/src/library/scala/Tuple8.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/Tuple9.scala b/src/library/scala/Tuple9.scala index 73368be030..77dc32f8e6 100644 --- a/src/library/scala/Tuple9.scala +++ b/src/library/scala/Tuple9.scala @@ -2,14 +2,14 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -// generated by genprod on Thu Apr 12 14:45:21 CEST 2007 +// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 package scala diff --git a/src/library/scala/xml/TopScope.scala b/src/library/scala/xml/TopScope.scala index 96f7d3a3bd..d1d421b218 100644 --- a/src/library/scala/xml/TopScope.scala +++ b/src/library/scala/xml/TopScope.scala @@ -1,16 +1,16 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id$ -package scala.xml; + +package scala.xml import Predef._ -import compat.StringBuilder /** top level namespace scope. only contains the predefined binding * for the "xml" prefix which is bound to @@ -22,18 +22,18 @@ case object TopScope extends NamespaceBinding(null, null, null) { if(prefix1 == "xml" /*XML.xml*/) "http://www.w3.org/XML/1998/namespace" else - null; + null override def getPrefix(uri1: String): String = - if(uri1 == "http://www.w3.org/XML/1998/namespace" /*XML.namespace*/) - "xml" //XML.xml + if (uri1 == "http://www.w3.org/XML/1998/namespace" /*XML.namespace*/) + "xml" //XML.xml else - null; + null - override def toString() = ""; + override def toString() = "" - override def toString(stop: NamespaceBinding) = ""; + override def toString(stop: NamespaceBinding) = "" - override def toString(sb: StringBuilder, ignore: NamespaceBinding) = {}; + override def toString(sb: StringBuilder, ignore: NamespaceBinding) = {} } |