Fixup checkstyle 16/114616/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 30 Nov 2024 21:48:01 +0000 (22:48 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 30 Nov 2024 21:50:51 +0000 (22:50 +0100)
Upgraded checkstyle is finding new violations, fix them up.

Change-Id: I0844f56c3c605cc26455bf6a69c044ad46e7d3b4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/netconf-api/src/main/java/org/opendaylight/netconf/api/messages/NotificationMessage.java

index 802f12c04e59978ee2d04821a07c59998abc3207..ed25c4291ada8432427ed45058ce61c76f5b13cb 100644 (file)
@@ -60,16 +60,12 @@ public final class NotificationMessage extends NetconfMessage {
             DATE_TIME_FORMATTER.format(date.atOffset(ZoneOffset.UTC));
 
     /**
-     * Parse a {@link String} object into a {@link Instant} using the time-zone
-     * offset for UTC, {@code ZoneOffset.UTC}, and the system default time-zone,
-     * {@code ZoneId.systemDefault()}.
-     * <p>
-     *     While parsing, if an exception occurs, we try to handle it as if it is due
-     *     to a leap second. If that's the case, a simple conversion is applied, replacing
-     *     the second-of-minute of 60 with 59.
-     *     If that's not the case, we propagate the {@link DateTimeParseException} to the
-     *     caller.
-     * </p>
+     * Parse a {@link String} object into a {@link Instant} using the time-zone offset for UTC, {@code ZoneOffset.UTC},
+     * and the system default time-zone, {@code ZoneId.systemDefault()}.
+     *
+     * <p>While parsing, if an exception occurs, we try to handle it as if it is due to a leap second. If that is
+     * the case, a simple conversion is applied, replacing the second-of-minute of 60 with 59. If that is not the case,
+     * we propagate the {@link DateTimeParseException} to the caller.
      */
     public static final Function<String, Instant> RFC3339_DATE_PARSER = time -> {
         try {