void (UrlInfo info, String value) { int row = myTable.getSelectedRow(); if (StringUtil.isEmpty(value) && row >= 0 && row < myModel.getRowCount()) { myModel.removeRow(row); } else { info.name = correctRepositoryRule(value); validateRepositories(Collections.singletonList(info)); } }