diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2009-05-27 21:37:33 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2009-05-27 21:37:33 +0000 |
commit | 5abe77233b683a935860b6276db71669ff2c263e (patch) | |
tree | e4e3fbb74b01cf4b5a256d6d4a2c6e320579cd51 /src/compiler | |
parent | c7cd961ad1beef39412544863fb58d3a7277eb28 (diff) | |
download | scala-5abe77233b683a935860b6276db71669ff2c263e.tar.gz scala-5abe77233b683a935860b6276db71669ff2c263e.tar.bz2 scala-5abe77233b683a935860b6276db71669ff2c263e.zip |
Deprecated "elements" method moved to "Iterable...
Deprecated "elements" method moved to "Iterable" were it belongs.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala | 2 | ||||
-rw-r--r-- | src/compiler/scala/tools/nsc/io/AbstractFile.scala | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala b/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala index 4267b5c95e..382544bd0c 100644 --- a/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala +++ b/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala @@ -92,8 +92,6 @@ trait BasicBlocks { def iterator: Iterator[Instruction] = if (closed) instrs.iterator else instructionList.reverse.iterator - @deprecated def elements = iterator - /** return the underlying array of instructions */ def getArray: Array[Instruction] = { assert(closed) diff --git a/src/compiler/scala/tools/nsc/io/AbstractFile.scala b/src/compiler/scala/tools/nsc/io/AbstractFile.scala index 169c230c69..7414a6ca27 100644 --- a/src/compiler/scala/tools/nsc/io/AbstractFile.scala +++ b/src/compiler/scala/tools/nsc/io/AbstractFile.scala @@ -153,8 +153,6 @@ abstract class AbstractFile extends AnyRef with Iterable[AbstractFile] { /** Returns all abstract subfiles of this abstract directory. */ def iterator: Iterator[AbstractFile] - @deprecated def elements = iterator - /** Returns the abstract file in this abstract directory with the specified * name. If there is no such file, returns <code>null</code>. The argument * <code>directory</code> tells whether to look for a directory or |