From 37594904f9717f131fb40bab7dea5d4ba0827971 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sat, 4 Sep 2010 08:13:36 -0400 Subject: [PATCH] remove unused parameter and fix comment --- compile/JavaCompiler.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compile/JavaCompiler.scala b/compile/JavaCompiler.scala index ef559e7dd..5c74101a8 100644 --- a/compile/JavaCompiler.scala +++ b/compile/JavaCompiler.scala @@ -29,7 +29,7 @@ object JavaCompiler def directOrFork(cp: ClasspathOptions, scalaInstance: ScalaInstance)(implicit doFork: Fork): JavaCompiler = construct(directOrForkJavac, cp, scalaInstance) - def direct(cp: ClasspathOptions, scalaInstance: ScalaInstance)(implicit doFork: Fork): JavaCompiler = + def direct(cp: ClasspathOptions, scalaInstance: ScalaInstance): JavaCompiler = construct(directJavac, cp, scalaInstance) def fork(cp: ClasspathOptions, scalaInstance: ScalaInstance)(implicit doFork: Fork): JavaCompiler = @@ -42,7 +42,7 @@ object JavaCompiler forkJavac(doFork)(arguments, log) } - /** `fork` should be a function that forks javac with the provided arguments and sends output to the given Logger.*/ + /** `doFork` should be a function that forks javac with the provided arguments and sends output to the given Logger.*/ def forkJavac(implicit doFork: Fork) = (arguments: Seq[String], log: Logger) => { def externalJavac(argFile: File) = doFork(("@" + normalizeSlash(argFile.getAbsolutePath)) :: Nil, log)