JavaTimeDefaultTimeZone
java.time APIs that silently use the default system time-zone are not allowed.

Severity
WARNING

The problem

Using APIs that silently use the default system time-zone is dangerous. The default system time-zone can vary from machine to machine or JVM to JVM. You must choose an explicit ZoneId.

Suppression

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