Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-tkachenko-datadog committed Sep 16, 2024
1 parent 344c5cf commit 9bf640e
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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 {
Expand Down Expand Up @@ -42,9 +40,9 @@ public String getUrlName() {
return url;
}

public static final class ConverterImpl extends DatadogConverter<DatadogLinkAction> {
public static final class ConverterImpl extends DatadogActionConverter<DatadogLinkAction> {
public ConverterImpl(XStream xs) {
super(ignoreOldData(), new ConverterV1());
super(new ConverterV1());
}
}

Expand Down

0 comments on commit 9bf640e

Please sign in to comment.