
org.opentripplanner.graph_builder.issues.TurnRestrictionUnknown Maven / Gradle / Ivy
The newest version!
package org.opentripplanner.graph_builder.issues;
import org.opentripplanner.graph_builder.issue.api.DataImportIssue;
import org.opentripplanner.osm.model.OsmEntity;
public record TurnRestrictionUnknown(OsmEntity entity, String tagval) implements DataImportIssue {
private static final String FMT = "Invalid turn restriction tag %s in turn restriction %d";
private static final String HTMLFMT = "Invalid turn restriction tag %s in '%s'";
@Override
public String getMessage() {
return String.format(FMT, tagval, entity.getId());
}
@Override
public String getHTMLMessage() {
return String.format(HTMLFMT, tagval, entity.url(), entity.getId());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy