Skip to content

Commit

Permalink
[MINOR] improvement: Fix the typo in ConfigEntry.java (#3860)
Browse files Browse the repository at this point in the history
<!--
1. Title: [#<issue>] <type>(<scope>): <subject>
   Examples:
     - "[#123] feat(operator): support xxx"
     - "[#233] fix: check null before access result in xxx"
     - "[MINOR] refactor: fix typo in variable name"
     - "[MINOR] docs: fix typo in README"
     - "[#255] test: fix flaky test NameOfTheTest"
   Reference: https://www.conventionalcommits.org/en/v1.0.0/
2. If the PR is unfinished, please mark this PR as draft.
-->

### What changes were proposed in this pull request?

orignal -> original
  • Loading branch information
eltociear authored Jun 14, 2024
1 parent a6f6e41 commit 18d5536
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public ConfigEntry<T> checkValue(Function<T, Boolean> checkValueFunc, String err
* Split the string to a list, then map each string element to its converted form.
*
* @param str The string form of the value list from the conf entry.
* @param converter The orignal ConfigEntry valueConverter.
* @param converter The original ConfigEntry valueConverter.
* @return The list of converted type.
*/
public List<T> strToSeq(String str, Function<String, T> converter) {
Expand All @@ -154,7 +154,7 @@ public List<T> strToSeq(String str, Function<String, T> converter) {
* Reduce the values then join them as a string.
*
* @param seq The sequence of the value list from the conf entry.
* @param converter The orignal ConfigEntry stringConverter.
* @param converter The original ConfigEntry stringConverter.
* @return The converted string.
*/
public String seqToStr(List<T> seq, Function<T, String> converter) {
Expand Down

0 comments on commit 18d5536

Please sign in to comment.