Source code cleanup
This commit is contained in:
-6
@@ -2159,12 +2159,6 @@ public final class GuiConfigurationEditorWorkspace {
|
||||
return label;
|
||||
}
|
||||
|
||||
private Label textLabel(String text) {
|
||||
Label label = new Label(text);
|
||||
label.setWrapText(true);
|
||||
return label;
|
||||
}
|
||||
|
||||
private void showStatusMessage(String message) {
|
||||
statusLabel.setText(message);
|
||||
statusLabel.setVisible(true);
|
||||
|
||||
-1
@@ -822,7 +822,6 @@ class GuiEditorRegressionSmokeTest {
|
||||
GuiConfigurationEditorWorkspace ws = new GuiConfigurationEditorWorkspace(Optional.empty());
|
||||
ws.requestNewConfiguration();
|
||||
|
||||
String originalSource = ws.editorState().values().sourceFolder();
|
||||
GuiConfigurationValues dirty = ws.editorState().values()
|
||||
.withSourceFolder("./dirty-source");
|
||||
ws.editorState = ws.editorState().withValues(dirty);
|
||||
|
||||
-1
@@ -40,7 +40,6 @@ class ClaudeModelCatalogAdapterTest {
|
||||
private HttpClient httpClient;
|
||||
|
||||
@Mock
|
||||
@SuppressWarnings("unchecked")
|
||||
private HttpResponse<String> httpResponse;
|
||||
|
||||
private ClaudeModelCatalogAdapter adapter;
|
||||
|
||||
-1
@@ -40,7 +40,6 @@ class OpenAiCompatibleModelCatalogAdapterTest {
|
||||
private HttpClient httpClient;
|
||||
|
||||
@Mock
|
||||
@SuppressWarnings("unchecked")
|
||||
private HttpResponse<String> httpResponse;
|
||||
|
||||
private OpenAiCompatibleModelCatalogAdapter adapter;
|
||||
|
||||
+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