From 634375a163b269c0972720f60502e63e96a31676 Mon Sep 17 00:00:00 2001 From: Vincent Paturet Date: Tue, 16 Jul 2024 17:23:56 +0200 Subject: [PATCH] Reduce visibility of commitTimetableSnapshot --- .../opentripplanner/updater/trip/TimetableSnapshotManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opentripplanner/updater/trip/TimetableSnapshotManager.java b/src/main/java/org/opentripplanner/updater/trip/TimetableSnapshotManager.java index 232a798d2f8..e435623ce85 100644 --- a/src/main/java/org/opentripplanner/updater/trip/TimetableSnapshotManager.java +++ b/src/main/java/org/opentripplanner/updater/trip/TimetableSnapshotManager.java @@ -102,7 +102,7 @@ public TimetableSnapshot getTimetableSnapshotBuffer() { * * @param force Force the committing of a new snapshot even if the above conditions are not met. */ - public void commitTimetableSnapshot(final boolean force) { + void commitTimetableSnapshot(final boolean force) { if (force || snapshotFrequencyThrottle.timeIsUp()) { if (force || buffer.isDirty()) { LOG.debug("Committing {}", buffer);