mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
injections: clear state before read
This commit is contained in:
@@ -198,6 +198,7 @@ public class Configuration implements PersistentStateComponent<Element>, Modific
|
||||
}
|
||||
|
||||
public void loadState(final Element element) {
|
||||
myInjections.clear();
|
||||
final THashMap<String, LanguageInjectionSupport> supports = new THashMap<String, LanguageInjectionSupport>();
|
||||
for (LanguageInjectionSupport support : InjectorUtils.getActiveInjectionSupports()) {
|
||||
supports.put(support.getId(), support);
|
||||
|
||||
Reference in New Issue
Block a user