Skip to content

Commit 73811b4

Browse files
committed
Use provided logger instead of xsbt.Log.debug
1 parent 8d50f01 commit 73811b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zinc/src/main/scala/sbt/internal/inc/javac/AnalyzingJavaCompiler.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import xsbti.{
3232

3333
import sbt.util.InterfaceUtil
3434
import sbt.util.Logger
35-
import xsbt.Log.debug
3635

3736
/**
3837
* Define a Java compiler that reports on any discovered source dependencies or
@@ -169,7 +168,7 @@ final class AnalyzingJavaCompiler private[sbt] (
169168
).toArray
170169
val javaSources: Array[VirtualFile] =
171170
sources.sortBy(_.id).toArray
172-
debug(log, prettyPrintCompilationArguments(args))
171+
log.debug(InterfaceUtil.toSupplier(prettyPrintCompilationArguments(args)))
173172
val success =
174173
javac.run(javaSources, args, output, incToolOptions, reporter, log)
175174
if (!success) {

0 commit comments

Comments
 (0)