From e17fcde865775e4e2b2b42a78d14065e7075447c Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Wed, 14 Feb 2024 12:05:50 +0100 Subject: [PATCH] (API, minor) Remove unnecessary inject. --- .../src/main/java/nu/marginalia/api/ApiService.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/services-application/api-service/src/main/java/nu/marginalia/api/ApiService.java b/code/services-application/api-service/src/main/java/nu/marginalia/api/ApiService.java index c7315960..5fa8baf2 100644 --- a/code/services-application/api-service/src/main/java/nu/marginalia/api/ApiService.java +++ b/code/services-application/api-service/src/main/java/nu/marginalia/api/ApiService.java @@ -26,7 +26,6 @@ public class ApiService extends Service { private final Logger logger = LoggerFactory.getLogger(getClass()); private final Gson gson = GsonFactory.get(); - private final QueryClient queryClient; private final ResponseCache responseCache; private final LicenseService licenseService; @@ -56,7 +55,6 @@ public class ApiService extends Service { @Inject public ApiService(BaseServiceParams params, - QueryClient queryClient, ResponseCache responseCache, LicenseService licenseService, RateLimiterService rateLimiterService, @@ -65,7 +63,6 @@ public class ApiService extends Service { super(params); - this.queryClient = queryClient; this.responseCache = responseCache; this.licenseService = licenseService; this.rateLimiterService = rateLimiterService;