Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refact: clean code & typo & update the name of getTimeZone #105

Merged
merged 4 commits into from
Sep 15, 2022
Merged

Conversation

imbajin
Copy link
Member

@imbajin imbajin commented Sep 1, 2022

Typo: getTimeZome() -> getTimeZone()

And we need check/update the class used it later

Typo: getTimeZome() -> getTimeZone()

And we need check/update the class used it later
@codecov
Copy link

codecov bot commented Sep 1, 2022

Codecov Report

Merging #105 (d9cb26a) into master (3b1bcb1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #105   +/-   ##
=========================================
  Coverage     93.15%   93.15%           
  Complexity       65       65           
=========================================
  Files             9        9           
  Lines           263      263           
  Branches         22       22           
=========================================
  Hits            245      245           
  Misses            8        8           
  Partials         10       10           
Impacted Files Coverage Δ
.../apache/hugegraph/rpc/RpcServiceConfig4Client.java 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

return o != null && Arrays.asList(values).containsAll(o);
}
};
return o -> o != null && new HashSet<>(Arrays.asList(values)).containsAll(o);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use hashset to speed up (List.containsAll perf is poor)

@imbajin imbajin requested a review from coderzc September 5, 2022 16:31
@imbajin imbajin requested a review from corgiboygsj September 7, 2022 09:14
@zyxxoo zyxxoo merged commit e85ab38 into master Sep 15, 2022
@zyxxoo zyxxoo deleted the clean-code branch September 15, 2022 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants