void (@NotNull VcsDirectoryMapping mapping) { if (LOG.isDebugEnabled()) { LOG.debug("remove mapping: " + mapping.getDirectory(), new Throwable()); } List<VcsDirectoryMapping> newMappings = new ArrayList<>(myMappings); newMappings.remove(mapping); updateVcsMappings(newMappings); }