org.opentripplanner.graph_builder.issues.NegativeDwellTime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.graph_builder.issues;
import org.opentripplanner.graph_builder.DataImportIssue;
import org.opentripplanner.model.StopTime;
public class NegativeDwellTime implements DataImportIssue {
public static final String FMT = "Negative time dwell at %s; skipping the entire trip.";
final StopTime stop;
public NegativeDwellTime(StopTime stop) {
this.stop = stop;
}
@Override
public String getMessage() {
return String.format(FMT, stop);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy