Source code cleanup

This commit is contained in:
van Elst, Marcus
2026-04-21 10:38:16 +02:00
parent 202088d1d3
commit 6babdd226e
5 changed files with 1 additions and 12 deletions
@@ -79,8 +79,6 @@ public class ProviderTechnicalTestService {
private static final int DEFAULT_TIMEOUT_SECONDS = 30;
private final AiModelCatalogPort modelCatalogPort;
private final ApiKeyResolutionPort apiKeyResolutionPort;
/**
* Erstellt einen neuen Service mit den erforderlichen Ports.
*
@@ -91,7 +89,7 @@ public class ProviderTechnicalTestService {
public ProviderTechnicalTestService(AiModelCatalogPort modelCatalogPort,
ApiKeyResolutionPort apiKeyResolutionPort) {
this.modelCatalogPort = Objects.requireNonNull(modelCatalogPort, "modelCatalogPort must not be null");
this.apiKeyResolutionPort = Objects.requireNonNull(apiKeyResolutionPort,
Objects.requireNonNull(apiKeyResolutionPort,
"apiKeyResolutionPort must not be null");
}