Skip to content

Commit

Permalink
Use shorter name for SIRI-SX
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Dec 11, 2024
1 parent 3b06b85 commit 71fae3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public record SiriSXUpdaterParameters(
boolean blockReadinessUntilInitialized,
HttpHeaders requestHeaders
)
implements SiriSXUpdater.SiriSXUpdaterParameters {}
implements SiriSXUpdater.Parameters {}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public record SiriSXLiteUpdaterParameters(
Duration timeout,
HttpHeaders requestHeaders
)
implements SiriSXUpdater.SiriSXUpdaterParameters {
implements SiriSXUpdater.Parameters {
@Override
public String requestorRef() {
return "OpenTripPlanner";
Expand Down

0 comments on commit 71fae3d

Please sign in to comment.