8305207: Calendar.aggregateStamp(int, int) return value can be simplified
Reviewed-by: naoto, rriggs, iris
This commit is contained in:
parent
174c1a6d53
commit
ffb2494de4
@ -2630,7 +2630,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
||||
if (stamp_a == UNSET || stamp_b == UNSET) {
|
||||
return UNSET;
|
||||
}
|
||||
return (stamp_a > stamp_b) ? stamp_a : stamp_b;
|
||||
return Math.max(stamp_a, stamp_b);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user