CanonicalDuration
Duration can be expressed more clearly with different units

Severity
WARNING

The problem

Prefer to express durations using the largest possible unit, e.g. Duration.ofDays(1) instead of Duration.ofSeconds(86400).

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("CanonicalDuration") to the enclosing element.