Skip to content

Commit

Permalink
rmonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Baoyi Chen committed Apr 5, 2022
1 parent 452c3fe commit 67cd11e
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,6 @@ private static long add(Long v1, Long v2) {
return v1 + v2;
}

private static Long max(Long v1, Long v2) {
if (v1 == null) {
v1 = 0L;
}
if (v2 == null) {
v2 = 0L;
}
return Math.max(v1, v2);
}

private static Long min(Long v1, Long v2) {
if (v1 == null) {
v1 = 0L;
}
if (v2 == null) {
v2 = 0L;
}
return Math.min(v1, v2);
}

@Override
public String toString() {
return "XClusterRedisInfo{" +
Expand Down

0 comments on commit 67cd11e

Please sign in to comment.