void (@NotNull PathMappingSettings mappingSettings) { @NlsSafe StringBuilder sb = new StringBuilder(); for (PathMappingSettings.PathMapping mapping : mappingSettings.getPathMappings()) { sb.append(mapping.getLocalRoot()).append("=").append(mapping.getRemoteRoot()).append(";"); } if (sb.length() > 0) { sb.deleteCharAt(sb.length() - 1); //trim last ; } getComponent().setText(sb.toString()); }