diff --git a/application/src/main/java/org/opentripplanner/updater/siri/updater/SiriSXUpdater.java b/application/src/main/java/org/opentripplanner/updater/siri/updater/SiriSXUpdater.java index d4ad863c207..edfdf0d878d 100644 --- a/application/src/main/java/org/opentripplanner/updater/siri/updater/SiriSXUpdater.java +++ b/application/src/main/java/org/opentripplanner/updater/siri/updater/SiriSXUpdater.java @@ -47,7 +47,7 @@ public class SiriSXUpdater extends PollingGraphUpdater implements TransitAlertPr private final OtpRetry retry; public SiriSXUpdater( - SiriSXUpdaterParameters config, + Parameters config, TimetableRepository timetableRepository, SiriLoader siriLoader ) { @@ -208,8 +208,7 @@ private void updateRequestorRef() { requestorRef = originalRequestorRef + "-retry-" + retryCount; } - public interface SiriSXUpdaterParameters - extends PollingGraphUpdaterParameters, UrlUpdaterParameters { + public interface Parameters extends PollingGraphUpdaterParameters, UrlUpdaterParameters { String requestorRef(); boolean blockReadinessUntilInitialized(); diff --git a/application/src/main/java/org/opentripplanner/updater/siri/updater/SiriSXUpdaterParameters.java b/application/src/main/java/org/opentripplanner/updater/siri/updater/SiriSXUpdaterParameters.java index 539e1333fa8..d1796557658 100644 --- a/application/src/main/java/org/opentripplanner/updater/siri/updater/SiriSXUpdaterParameters.java +++ b/application/src/main/java/org/opentripplanner/updater/siri/updater/SiriSXUpdaterParameters.java @@ -14,4 +14,4 @@ public record SiriSXUpdaterParameters( boolean blockReadinessUntilInitialized, HttpHeaders requestHeaders ) - implements SiriSXUpdater.SiriSXUpdaterParameters {} + implements SiriSXUpdater.Parameters {} diff --git a/application/src/main/java/org/opentripplanner/updater/siri/updater/lite/SiriSXLiteUpdaterParameters.java b/application/src/main/java/org/opentripplanner/updater/siri/updater/lite/SiriSXLiteUpdaterParameters.java index e2f6a7a63eb..5c48ca3e04b 100644 --- a/application/src/main/java/org/opentripplanner/updater/siri/updater/lite/SiriSXLiteUpdaterParameters.java +++ b/application/src/main/java/org/opentripplanner/updater/siri/updater/lite/SiriSXLiteUpdaterParameters.java @@ -14,7 +14,7 @@ public record SiriSXLiteUpdaterParameters( Duration timeout, HttpHeaders requestHeaders ) - implements SiriSXUpdater.SiriSXUpdaterParameters { + implements SiriSXUpdater.Parameters { @Override public String requestorRef() { return "OpenTripPlanner";