From 8b41b6ce4094d521007de16673294ec571203315 Mon Sep 17 00:00:00 2001
From: Benedikt Wetzel <stu126940@mail.uni-kiel.de>
Date: Wed, 24 Feb 2021 20:56:34 +0000
Subject: [PATCH] Apply 2 suggestion(s) to 1 file(s)

---
 .../main/kotlin/theodolite/strategies/StrategiesManager.kt    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/strategies/StrategiesManager.kt b/theodolite-quarkus/src/main/kotlin/theodolite/strategies/StrategiesManager.kt
index 947dc0040..280cca545 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()
     }
-- 
GitLab