X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Futil%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Futil%2Fconcurrent%2FReflectiveExceptionMapperTest.java;h=9dda0bcb323c900a0cbae6dc824fea57a3ca1611;hb=14fb0b4eba9e86b7a6358f9c29527c9b9d1ec5f1;hp=388b9ed8a6c4089bcd252d4922ad2c7e0572529b;hpb=d7e96958ebebd89d17ed062b31455b2e0768c30b;p=yangtools.git diff --git a/common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/ReflectiveExceptionMapperTest.java b/common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/ReflectiveExceptionMapperTest.java index 388b9ed8a6..9dda0bcb32 100644 --- a/common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/ReflectiveExceptionMapperTest.java +++ b/common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/ReflectiveExceptionMapperTest.java @@ -10,11 +10,13 @@ package org.opendaylight.yangtools.util.concurrent; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThrows; +import java.io.Serial; import java.util.concurrent.ExecutionException; import org.junit.Test; public class ReflectiveExceptionMapperTest { static final class NoArgumentCtorException extends Exception { + @Serial private static final long serialVersionUID = 1L; NoArgumentCtorException() { @@ -22,6 +24,7 @@ public class ReflectiveExceptionMapperTest { } static final class PrivateCtorException extends Exception { + @Serial private static final long serialVersionUID = 1L; private PrivateCtorException(final String message, final Throwable cause) { @@ -30,6 +33,7 @@ public class ReflectiveExceptionMapperTest { } static final class FailingCtorException extends Exception { + @Serial private static final long serialVersionUID = 1L; FailingCtorException(final String message, final Throwable cause) { @@ -38,6 +42,7 @@ public class ReflectiveExceptionMapperTest { } public static final class GoodException extends Exception { + @Serial private static final long serialVersionUID = 1L; public GoodException(final String message, final Throwable cause) {