public void migrateToAdvancedSettings() {
    if (propertyService != null) {
      if (propertyService.isValueSet(RECENTS_LIMIT)) {
        setRecentsLimit(Math.max(MIN_RECENT_LIMIT, StringUtil.parseInt(propertyService.getValue(RECENTS_LIMIT), DEFAULT_RECENT_LIMIT)));
        propertyService.unsetValue(RECENTS_LIMIT);
      }
      if (propertyService.isValueSet(RESTART_REQUIRES_CONFIRMATION)) {
        setRestartRequiresConfirmation(propertyService.getBoolean(RESTART_REQUIRES_CONFIRMATION));
        propertyService.unsetValue(RESTART_REQUIRES_CONFIRMATION);
      }
    }
  }
public void migrateToAdvancedSettings()