Fix unused pattern match vals in run project

This commit is contained in:
Simon Schäfer 2017-10-18 20:01:43 +02:00
parent ede94cb34c
commit 187a861194
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class ForkRun(config: ForkOptions) extends ScalaRun {
1
}
val exitCode = try process.exitValue()
catch { case e: InterruptedException => cancel() }
catch { case _: InterruptedException => cancel() }
processExitCode(exitCode, "runner")
}

View File

@ -162,7 +162,7 @@ private final class TrapExit(delegateManager: SecurityManager) extends SecurityM
executionThread.start() // thread actually evaluating `f`
finish(app, log)
} catch {
case e: InterruptedException => // here, the thread that started the run has been interrupted, not the main thread of the executing code
case _: InterruptedException => // here, the thread that started the run has been interrupted, not the main thread of the executing code
cancel(executionThread, app, log)
} finally app.cleanup()
}