Skip to content
Snippets Groups Projects

Partially fixed IntelliJ warnings (#361)

Merged Christopher Konkel requested to merge stu207811/theodolite_fork:Kotlin-Warning-Fixes into main
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -42,8 +42,9 @@ class ExecutionEventHandler(
this.controller.stop(restart = true)
}
}
// TODO: Why does this not trigger additional warnings for uncatched exception?
else -> throw IllegalStateException("onAdd does not handle the current execution state ($currentState)")
else -> {
logger.info { "ExecutionEventHandler#onAdd(...) does not handle ExecutionState $currentState" }
}
}
}
Loading