public static @Nullable String getCharset(@NotNull String path, @NotNull CommitContext commitContext) {
    Map<String, String> userData = commitContext.getUserData(ourName);
    return userData == null ? null : userData.get(FilePathsHelper.convertPath(path));
  }
public static @Nullable String getCharset(@NotNull String path, @NotNull CommitContext commitContext)