diff options
author | Paul Phillips <paulp@improving.org> | 2012-11-06 13:35:21 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-11-06 15:18:56 -0800 |
commit | e51e9b5c5a357967f642262d88244dae550c91b2 (patch) | |
tree | c116f6fe4fb03e7442320ef080eefd9de0d09614 /src/compiler/scala/tools/nsc/io/package.scala | |
parent | fe86aedf4acbb16159c8036edeadbda0bd380771 (diff) | |
download | scala-e51e9b5c5a357967f642262d88244dae550c91b2.tar.gz scala-e51e9b5c5a357967f642262d88244dae550c91b2.tar.bz2 scala-e51e9b5c5a357967f642262d88244dae550c91b2.zip |
Removed unused imports.
A dizzying number of unused imports, limited to files
in src/compiler. I especially like that the unused import
option (not quite ready for checkin itself) finds places
where feature implicits have been imported which are no
longer necessary, e.g. this commit includes half a dozen
removals of "import scala.language.implicitConversions".
Diffstat (limited to 'src/compiler/scala/tools/nsc/io/package.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/io/package.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/io/package.scala b/src/compiler/scala/tools/nsc/io/package.scala index 711696bb6e..c29a7c96df 100644 --- a/src/compiler/scala/tools/nsc/io/package.scala +++ b/src/compiler/scala/tools/nsc/io/package.scala @@ -7,7 +7,6 @@ package scala.tools.nsc import java.util.concurrent.{ Future, Callable } import java.util.{ Timer, TimerTask } -import java.util.jar.{ Attributes } import scala.language.implicitConversions package object io { @@ -27,7 +26,7 @@ package object io { type VirtualFile = scala.reflect.io.VirtualFile val ZipArchive = scala.reflect.io.ZipArchive type ZipArchive = scala.reflect.io.ZipArchive - + implicit def postfixOps = scala.language.postfixOps // make all postfix ops in this package compile without warning type JManifest = java.util.jar.Manifest |