Skip to content

fix init state for service selection dialog #2440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.awt.*;
import java.awt.event.KeyEvent;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

Expand All @@ -29,7 +30,7 @@
public class ServiceArgumentSelectionDialog extends JDialog {

private final Project project;
private final Map<String, Set<String>> arguments;
private final Map<String, Set<String>> arguments = new HashMap<>();
private final Callback callback;
private JPanel panel1;
private JButton generateButton;
Expand All @@ -41,7 +42,7 @@ public class ServiceArgumentSelectionDialog extends JDialog {

public ServiceArgumentSelectionDialog(Project project, Map<String, Set<String>> arguments, Callback callback) {
this.project = project;
this.arguments = arguments;
this.arguments.putAll(arguments);
this.callback = callback;
}

Expand Down