mirror of
https://github.com/opentripplanner/OpenTripPlanner.git
synced 2026-04-02 21:43:07 +02:00
14 lines
458 B
Java
14 lines
458 B
Java
package org.opentripplanner.graph_builder.issues;
|
|
|
|
import org.opentripplanner.core.model.id.FeedScopedId;
|
|
import org.opentripplanner.graph_builder.issue.api.DataImportIssue;
|
|
|
|
public record BogusShapeGeometry(FeedScopedId shapeId) implements DataImportIssue {
|
|
private static final String FMT =
|
|
"Shape geometry for shape_id %s does not have two distinct points.";
|
|
|
|
@Override
|
|
public String getMessage() {
|
|
return String.format(FMT, shapeId);
|
|
}
|
|
}
|