mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8305207: Calendar.aggregateStamp(int, int) return value can be simplified
Reviewed-by: naoto, rriggs, iris
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user