mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8305207: Calendar.aggregateStamp(int, int) return value can be simplified
Reviewed-by: naoto, rriggs, iris
This commit is contained in:
parent
174c1a6d53
commit
ffb2494de4
1 changed files with 1 additions and 1 deletions
|
@ -2630,7 +2630,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
||||||
if (stamp_a == UNSET || stamp_b == UNSET) {
|
if (stamp_a == UNSET || stamp_b == UNSET) {
|
||||||
return UNSET;
|
return UNSET;
|
||||||
}
|
}
|
||||||
return (stamp_a > stamp_b) ? stamp_a : stamp_b;
|
return Math.max(stamp_a, stamp_b);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue