@NlsSafe
  private static String convertWithLastSeparatorImpl(final String initPath, final boolean isDir) {
    final String path = isDir ? (initPath.endsWith("/") || initPath.endsWith("\\") ? initPath : initPath + "/") : initPath;
    return convertPath(path);
  }
@NlsSafe
  private static String convertWithLastSeparatorImpl(final String initPath, final boolean isDir)