IDEA-CR-61852 getState is not required because we need to create service to ensure that on save will be no password in storage, but once service is initialized, it will be part of save

Also, it fixes multithreading access issue to myRepositories

GitOrigin-RevId: e574d002262cec443c9bb38e977f19f479ebb985
This commit is contained in:
Vladimir Krivosheev
2020-04-22 17:30:45 +00:00
committed by intellij-monorepo-bot
parent ccdf7371b9
commit ae1adf66c6
@@ -13,7 +13,7 @@ final class PasswordConversionEnforcer extends PreloadingActivity {
public void preload(@NotNull ProgressIndicator indicator) {
PropertiesComponent propertyComponent = PropertiesComponent.getInstance();
if (!propertyComponent.isValueSet(ENFORCED)) {
RecentTaskRepositories.getInstance().getState();
RecentTaskRepositories.getInstance();
propertyComponent.setValue(ENFORCED, true);
}
}