code: public static String separatorsToSystem(final String path) {
          if (path == null) {
              return null;
          }
          if (IOUtil.IS_OS_WINDOWS) {
              return separatorsToWindows(path);
          } else {
              return separatorsToUnix(path);
          }
      }
docs: Converts all separators to the system separator.
  
  @param path  the path to be changed, null ignored
  @return the updated path