Use anonymous function instead of Runnable

This commit is contained in:
Ethan Atkins 2019-11-30 15:11:26 -08:00
parent 7426ae520c
commit 73edc8d4ff
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ private[sbt] class BackgroundThreadPool extends java.io.Closeable {
list
}
listeners.foreach { l =>
l.executionContext.execute(new Runnable { override def run = l.callback() })
l.executionContext.execute(() => l.callback())
}
}
}