From 30cba92dc81a22fc4cb3ffcf13e9d2ef0e72b603 Mon Sep 17 00:00:00 2001 From: Kezhi Xiong Date: Wed, 23 Dec 2020 12:06:58 +0800 Subject: [PATCH] Clean pmd issues --- .../io/jenkins/plugins/checks/util/LoggingChecksPublisher.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/io/jenkins/plugins/checks/util/LoggingChecksPublisher.java b/src/test/java/io/jenkins/plugins/checks/util/LoggingChecksPublisher.java index 30705a9d..6e7f280b 100644 --- a/src/test/java/io/jenkins/plugins/checks/util/LoggingChecksPublisher.java +++ b/src/test/java/io/jenkins/plugins/checks/util/LoggingChecksPublisher.java @@ -65,6 +65,7 @@ public static class Factory extends ChecksPublisherFactory { * Constructs without adding formatter. */ public Factory() { + super(); } /** @@ -74,6 +75,8 @@ public Factory() { * formatter for {@link ChecksDetails} */ public Factory(final Formatter formatter) { + super(); + publisher.formatter = formatter; }