All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.graph_builder.issues.NegativeDwellTime Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
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