JavaLocalTimeGetNano
localTime.getNano() only accesses the nanos-of-second field. It's rare to only use getNano() without a nearby getSecond() call.

Severity
WARNING

Suppression

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