SVNUrl url = location.getUrl(); if (url != null) { repositoryUrlText.setText(url.get()); } else { repositoryUrlText.setText(""); }
    private void initializeValues() {        passwordChanged = false;                loginText.setText(location.getUsername());        passwordText.setText(FAKE_PASSWORD);                // get the repository label        String label = location.getLabel();        useUrlLabelButton.setSelection(label == null);        useCustomLabelButton.setSelection(!useUrlLabelButton.getSelection());        if (label == null) {            label = location.getLocation();        }        customLabelText.setText(label);                SVNUrl repositoryRoot = location.getRepositoryRoot();        if (repositoryRoot != null) {            repositoryRootText.setText(repositoryRoot.get());           } else {            repositoryRootText.setText(""); //$NON-NLS-1$        }    }    