diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/strategies/StrategiesManager.kt b/theodolite-quarkus/src/main/kotlin/theodolite/strategies/StrategiesManager.kt index 947dc0040b6b8cbbe403c0117965c4c8d3b46882..280cca54576f390413d7d5fe3d62f7885fa6dd1d 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/strategies/StrategiesManager.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/strategies/StrategiesManager.kt @@ -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() }