void (@Nullable @NlsSafe String autoDetectedPath) { StatusText emptyText = ((JBTextField)myPathSelector.getTextField()).getEmptyText(); emptyText.setText(autoDetectedPath != null ? VcsBundle.message("settings.auto.detected") + autoDetectedPath : VcsBundle.message("settings.auto.detected.progress")); myAutoDetectedPath = autoDetectedPath; updateTestButtonAvailability(); }