boolean (String oldId, RunnerAndConfigurationSettings settings) { final List<ConfigurationDescriptor> list = getList(); for (ConfigurationDescriptor descriptor : list) { if (descriptor.getId().equals(oldId)) { final List<ConfigurationDescriptor> newList = new ArrayList<>(list); newList.remove(descriptor); newList.add(new ConfigurationDescriptor(settings.getUniqueID(), settings.getName())); setList(newList); return true; } } return false; }