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

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

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 - 2024 Weber Informatics LLC | Privacy Policy