public void setForServer(final @NotNull Mappings mappings) {
    final List<Mappings> list = myState.getList();
    final Iterator<Mappings> iterator = list.iterator();
    while (iterator.hasNext()) {
      final Mappings current = iterator.next();
      if (mappings.getServerId().equals(current.getServerId())) {
        iterator.remove();
      }
    }
    list.add(mappings);
  }
public void setForServer(final @NotNull Mappings mappings)