Source code cleanup
This commit is contained in:
+1
-3
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user