Skip to content

Commit c79a62d

Browse files
committed
Declare serialVersionUID explicitly
1 parent aca30c5 commit c79a62d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

junit-platform-engine/src/main/java/org/junit/platform/engine/support/hierarchical/ForkJoinPoolHierarchicalTestExecutorService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import static org.junit.platform.engine.support.hierarchical.Node.ExecutionMode.CONCURRENT;
1717
import static org.junit.platform.engine.support.hierarchical.Node.ExecutionMode.SAME_THREAD;
1818

19+
import java.io.Serial;
1920
import java.lang.Thread.UncaughtExceptionHandler;
2021
import java.lang.reflect.Constructor;
2122
import java.util.ArrayDeque;
@@ -223,6 +224,9 @@ public void close() {
223224
@SuppressWarnings({ "serial", "RedundantSuppression" })
224225
class ExclusiveTask extends ForkJoinTask<Void> {
225226

227+
@Serial
228+
private static final long serialVersionUID = 1;
229+
226230
private final TestTask testTask;
227231

228232
ExclusiveTask(TestTask testTask) {

0 commit comments

Comments
 (0)