From c83d5573ce89787b69ed5abbdfbef78f4ba24f8b Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 25 Jun 2009 12:39:49 +0000 Subject: Reverted attempts at inhibiting empty .scala_de... Reverted attempts at inhibiting empty .scala_dependencies --- src/compiler/scala/tools/nsc/Global.scala | 9 --------- 1 file changed, 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 -- cgit v1.2.3