diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-01-22 13:24:27 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2007-01-22 13:24:27 +0000 |
commit | 0e974bb3739d7cf5b375c88502f9c1c5eb7df78e (patch) | |
tree | 46361fd386e1781e5aeabea56220090fe764c20e /src/library | |
parent | 2836cba04cdc42875be1f09376908ca7d805cc49 (diff) | |
download | scala-0e974bb3739d7cf5b375c88502f9c1c5eb7df78e.tar.gz scala-0e974bb3739d7cf5b375c88502f9c1c5eb7df78e.tar.bz2 scala-0e974bb3739d7cf5b375c88502f9c1c5eb7df78e.zip |
Fixing the 1.4 build by deleting 1.5 specific A...
Fixing the 1.4 build by deleting 1.5 specific APIs.
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/collection/jcl/LinkedList.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/collection/jcl/LinkedList.scala b/src/library/scala/collection/jcl/LinkedList.scala index 3aaeecd95a..75684fd020 100644 --- a/src/library/scala/collection/jcl/LinkedList.scala +++ b/src/library/scala/collection/jcl/LinkedList.scala @@ -22,8 +22,8 @@ class LinkedList[A](override val underlying : java.util.LinkedList) extends Conc override def add(idx : Int, a : A) = if (idx == 0) underlying.addFirst(a); else super.add(idx, a); - def peek = underlying.peek.asInstanceOf[A]; - def poll = underlying.poll.asInstanceOf[A]; - def removeFirst = underlying.removeFirst.asInstanceOf[A]; - def removeLast = underlying.removeLast.asInstanceOf[A]; + //def peek = underlying.peek.asInstanceOf[A]; + //def poll = underlying.poll.asInstanceOf[A]; + //def removeFirst = underlying.removeFirst.asInstanceOf[A]; + //def removeLast = underlying.removeLast.asInstanceOf[A]; } |