From e2412740b2cb8e53dba5d5f4469b725122920b8a Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Mon, 18 Aug 2014 01:12:39 -0400 Subject: [PATCH] Removes println when removing unused *.class files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #1525 removes unused *.class files created by the metabuid. The implementation currently prints out a long list of *.class files it’s about to remove. Unless something bad happens, this information is not very useful to the user, so I suggest we don’t display it. --- main/src/main/scala/sbt/Load.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/main/src/main/scala/sbt/Load.scala b/main/src/main/scala/sbt/Load.scala index e0512616d..9cac96cde 100755 --- a/main/src/main/scala/sbt/Load.scala +++ b/main/src/main/scala/sbt/Load.scala @@ -262,7 +262,6 @@ object Load { val existing = (baseTarget.***.get).filterNot(_.isDirectory) val toDelete = existing.filterNot(keepFile) if (!toDelete.isEmpty) { - System.err.println(s"Discovered unused files: ${toDelete.mkString("\n * ", "\n * ", "\n")}. Note: Please reload all other running sbt instances in $base") IO.delete(toDelete) } }