mirror of https://github.com/sbt/sbt.git
Use anonymous function instead of Runnable
This commit is contained in:
parent
7426ae520c
commit
73edc8d4ff
|
|
@ -372,7 +372,7 @@ private[sbt] class BackgroundThreadPool extends java.io.Closeable {
|
||||||
list
|
list
|
||||||
}
|
}
|
||||||
listeners.foreach { l =>
|
listeners.foreach { l =>
|
||||||
l.executionContext.execute(new Runnable { override def run = l.callback() })
|
l.executionContext.execute(() => l.callback())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue