@NotNull
  private SvnConfiguration.SshConnectionType getConnectionChoice() {
    JBRadioButton selected = myPasswordChoice.isSelected()
                             ? myPasswordChoice
                             : myPrivateKeyChoice.isSelected()
                               ? myPrivateKeyChoice
                               : mySubversionConfigChoice.isSelected() ? mySubversionConfigChoice : null;

    assert selected != null;

    return (SvnConfiguration.SshConnectionType)selected.getClientProperty("value");
  }
@NotNull
  private SvnConfiguration.SshConnectionType getConnectionChoice()