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

org.opentripplanner.graph_builder.issues.FloorNumberUnknownGuessedFromAltitude 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;

public class FloorNumberUnknownGuessedFromAltitude implements DataImportIssue {

  public static final String FMT =
    "Could not determine floor number for layer %s. Guessed %s (0-based) from altitude.";

  final String layer;
  final Integer floorNumber;

  public FloorNumberUnknownGuessedFromAltitude(String layer, Integer floorNumber) {
    this.layer = layer;
    this.floorNumber = floorNumber;
  }

  @Override
  public String getMessage() {
    return String.format(FMT, layer, floorNumber);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy