forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-36047][CORE] Replace the handwriting compare methods with stat…
…ic compare methods in Java code ### What changes were proposed in this pull request? The main change of this is use the static `Integer.compare()` method and `Long.compare()` method instead of the handwriting compare method in Java code. ### Why are the changes needed? Removing unnecessary handwriting compare methods ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass the Jenkins or GitHub Action Closes apache#33260 from LuciferYang/static-compare. Authored-by: yangjie01 <[email protected]> Signed-off-by: Sean Owen <[email protected]>
- Loading branch information
1 parent
f5a6332
commit 83b3b75
Showing
2 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters