From ed76a4da3ca1ed9ee1c548829f3ed7e92dbdd897 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Wed, 11 Dec 2024 18:01:30 +0100 Subject: [PATCH] Don't use getClass() --- .../org/opentripplanner/updater/siri/updater/SiriSXUpdater.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 253338161fb..d4ad863c207 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 @@ -97,7 +97,7 @@ protected void runPolling() throws InterruptedException { @Override public String toString() { return ToStringBuilder - .of(this.getClass()) + .of(SiriSXUpdater.class) .addStr("url", url) .addDuration("frequency", pollingPeriod()) .toString();