synchronized (myCustomSettings) {
myCustomSettings.put(settings.getClass(), settings);
}
}
}
<BUG>public <T extends CustomCodeStyleSettings> T getCustomSettings(Class<T> aClass) {
</BUG>
synchronized (myCustomSettings) {
return (T)myCustomSettings.get(aClass);
}

synchronized (myCustomSettings) {
myCustomSettings.put(settings.getClass(), settings);
}
}
}
public <T extends CustomCodeStyleSettings> T getCustomSettings(@NotNull Class<T> aClass) {
synchronized (myCustomSettings) {
return (T)myCustomSettings.get(aClass);
