public static @NotNull String neutralizePath(@NotNull String path) {
      if (preserveSlashes(path)) return path;
      return StringUtil.trimEnd(FileUtilRt.toSystemIndependentName(path), '/');
    }
public static @NotNull String neutralizePath(@NotNull String path)