Skip to content

Commit

Permalink
fix PR comment problem
Browse files Browse the repository at this point in the history
  • Loading branch information
luchunliang committed May 8, 2024
1 parent bfe3f72 commit f2c2031
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,10 @@ public static BigDecimal parseBigDecimal(Object value) {
@SuppressWarnings("rawtypes")
public static int compareValue(Comparable left, Comparable right) {
if (left == null) {
if (right == null) {
return 0;
} else {
return -1;
}
} else {
if (right == null) {
return 1;
}
return right == null ? 0 : -1;
}
if (right == null) {
return 1;
}
if (left instanceof String) {
if (right instanceof String) {
Expand Down

0 comments on commit f2c2031

Please sign in to comment.