This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Iterator#append deprecated since 2.3.3 ... time for removal?

1 reply
soc
Joined: 2010-02-07,
User offline. Last seen 34 weeks 5 days ago.

Hi,

I'm currently looking Iterator's [1] append method, which is
deprecated since version 2.3.3. Is there any reason why this method
should live any further (in the light of the recent removal of case
class inheritance)?

I'm not 100% sure because there are other collection classes
(inheriting from BufferLike [2]) which have a non-deprecated append
method, although with a different signature:

Iterator: def append[B >: A](that: Iterator[B])
BufferLike: def append(elems: A*)

If nothing comes up, I'll do the changes and create a pull request for it.

Thanks and bye,

Simon

[1]
http://www.scala-lang.org/archives/downloads/distrib/files/nightly/docs/...
[2]
http://www.scala-lang.org/archives/downloads/distrib/files/nightly/docs/...

odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.
Re: Iterator#append deprecated since 2.3.3 ... time for removal


On Wed, Jul 13, 2011 at 7:11 PM, Simon Ochsenreither <simon [at] ochsenreither [dot] de> wrote:
Hi,

I'm currently looking Iterator's [1] append method, which is deprecated since version 2.3.3. Is there any reason why this method should live any further (in the light of the recent removal of case class inheritance)?

2.3.3 is downright prehistoric. I see no reason not to remove it now.
 
 -- Martin

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland