void (@Nullable PlatformUpdates.Loaded platformUpdateInfo) { myPlatformUpdateInfo = platformUpdateInfo; myNewPlatformUpdate = platformUpdateInfo != null; PropertiesComponent properties = PropertiesComponent.getInstance(); if (platformUpdateInfo == null) { properties.unsetValue(NEXT_RUN_KEY_BUILD); properties.unsetValue(NEXT_RUN_KEY_VERSION); } else { BuildInfo build = platformUpdateInfo.getNewBuild(); properties.setValue(NEXT_RUN_KEY_BUILD, build.getNumber().toString()); properties.setValue(NEXT_RUN_KEY_VERSION, build.getVersion()); } }