diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index 3e8f7655e1..e20770a13a 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -832,13 +832,6 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable dependencyAnalysis.saveDependencies() } - // When all is said and done, if the dependencies file is 0 length - // delete it so people do not curse it with the vehemence with which - // they curse .DS_Store and the like. - def cleanupDependenciesFile() = - for (f <- dependencyAnalysis.dependenciesFile ; size <- f.sizeOption ; if size == 0) - f.delete - /** Compile list of abstract files */ def compileFiles(files: List[AbstractFile]) { try { @@ -846,7 +839,6 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable } catch { case ex: IOException => error(ex.getMessage()) } - finally cleanupDependenciesFile } /** Compile list of files given by their names */ @@ -867,7 +859,6 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable } catch { case ex: IOException => error(ex.getMessage()) } - finally cleanupDependenciesFile } /** Compile abstract file until `globalPhase`, but at least |