Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 20, 2022. It is now read-only.
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 @@ -92,14 +92,15 @@ public IPreferences getPreferences() {
public void refresh() throws GemException {
projects = null;
repositoriesById = null;
services.refresh();
// first the files should be read again
hoconFileManager.refresh();
// refresh the preferences if already created
if (prefs != null) {
prefs.refresh();
}
hoconFileManager.refresh();
// for the core configuration, if the config is wrong, the constructor fails!
config = getPluginConfiguration(ConfigConstants.GEM_CONFIGURATION_ID, GemCfgBean.class);
// services should refresh at the end, once the configuration is reloaded
services.refresh();
}

@Override
Expand Down