private static @NotNull List<PathMapping> create(final @Nullable List<? extends PathMapping> mappings) {
    List<PathMapping> result = new ArrayList<>();
    if (mappings != null) {
      for (PathMapping m : mappings) {
        if (m != null && !isAnyEmpty(m.getLocalRoot(), m.getRemoteRoot())) {
          result.add(m);
        }
      }
    }
    return result;
  }
private static @NotNull List<PathMapping> create(final @Nullable List<? extends PathMapping> mappings)