From 9bf640e2c3113f9149285d3ed598a313290d67ac Mon Sep 17 00:00:00 2001 From: Nikita Tkachenko Date: Mon, 16 Sep 2024 15:04:23 +0200 Subject: [PATCH] Fix compilation error --- .../jenkins/plugins/datadog/model/DatadogLinkAction.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/datadog/jenkins/plugins/datadog/model/DatadogLinkAction.java b/src/main/java/org/datadog/jenkins/plugins/datadog/model/DatadogLinkAction.java index 55f6f96e..be4cb76b 100644 --- a/src/main/java/org/datadog/jenkins/plugins/datadog/model/DatadogLinkAction.java +++ b/src/main/java/org/datadog/jenkins/plugins/datadog/model/DatadogLinkAction.java @@ -1,7 +1,5 @@ package org.datadog.jenkins.plugins.datadog.model; -import static org.datadog.jenkins.plugins.datadog.util.conversion.VersionedConverter.ignoreOldData; - import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.converters.MarshallingContext; import com.thoughtworks.xstream.converters.UnmarshallingContext; @@ -10,7 +8,7 @@ import hudson.model.Action; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; -import org.datadog.jenkins.plugins.datadog.util.conversion.DatadogConverter; +import org.datadog.jenkins.plugins.datadog.util.conversion.DatadogActionConverter; import org.datadog.jenkins.plugins.datadog.util.conversion.VersionedConverter; public class DatadogLinkAction implements Action { @@ -42,9 +40,9 @@ public String getUrlName() { return url; } - public static final class ConverterImpl extends DatadogConverter { + public static final class ConverterImpl extends DatadogActionConverter { public ConverterImpl(XStream xs) { - super(ignoreOldData(), new ConverterV1()); + super(new ConverterV1()); } }