org.opentripplanner.graph_builder.issues.NonUniqueRouteName 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;
public class NonUniqueRouteName implements DataImportIssue {
public static final String FMT = "Route had non-unique name. Generated one to ensure uniqueness of TripPattern names: %s";
final String generatedRouteName;
public NonUniqueRouteName(String generatedRouteName) {
this.generatedRouteName = generatedRouteName;
}
@Override
public String getMessage() {
return String.format(FMT, generatedRouteName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy