JavaUtilDate
Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate.

Severity
WARNING
Has Fix?

The problem

The Date API is full of major design flaws and pitfalls and should be avoided at all costs. Prefer the java.time APIs, specifically, java.time.Instant (for physical time) and java.time.LocalDate[Time] (for civil time).

Suppression

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