Skip to content
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 @@ -79,10 +79,11 @@ public boolean update(Setting setting) {
.set(Setting::getSettingValue, value)
.update();

getMavenConfig().updateConfig();

Optional<Setting> optional = Optional.ofNullable(SETTINGS.get(setting.getSettingKey()));
optional.ifPresent(x -> x.setSettingValue(value));

getMavenConfig().updateConfig();
Copy link

Copilot AI Jun 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving getMavenConfig().updateConfig() to after the SETTINGS update ensures that the Maven configuration is updated with the latest settings, which resolves the reported bug.

Copilot uses AI. Check for mistakes.

return true;
} catch (Exception e) {
return false;
Expand Down
Loading