Skip to content
Snippets Groups Projects
Commit 8b41b6ce authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

Apply 2 suggestion(s) to 1 file(s)

parent 7d3fca3b
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!85Introduce new Benchmark class and Patcher,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
......@@ -15,7 +15,7 @@ class StrategiesManager {
return when (searchStrategyString) {
"LinearSearch" -> LinearSearch(executor)
"BinarySearch" -> BinarySearch(executor)
else -> throw IllegalArgumentException("Search Strategy $searchStrategyString not found")
else -> throw IllegalArgumentException("Search Strategy $searchStrategyString not found")
}
}
......@@ -24,7 +24,7 @@ class StrategiesManager {
.map { restriction ->
when (restriction) {
"LowerBound" -> LowerBoundRestriction(results)
else -> throw IllegalArgumentException("Restriction Strategy $restrictionStrings not found")
else -> throw IllegalArgumentException("Restriction Strategy $restrictionStrings not found")
}
}.toSet()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment