Skip to content

Commit

Permalink
StreetEdge: correct exception typo
Browse files Browse the repository at this point in the history
  • Loading branch information
flaktack committed Mar 29, 2022
1 parent 794ead2 commit 63a8dc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ public double getEffectiveWalkDistance() {

public void setBicycleSafetyFactor(float bicycleSafetyFactor) {
if (hasElevationExtension()) {
throw new IllegalStateException("A bicycle safety factor may not be set if an elevatione extension is set.");
throw new IllegalStateException("A bicycle safety factor may not be set if an elevation extension is set.");
}
if (!Float.isFinite(bicycleSafetyFactor) || bicycleSafetyFactor <= 0) {
throw new IllegalArgumentException("Invalid bicycleSafetyFactor: " + bicycleSafetyFactor);
Expand Down

0 comments on commit 63a8dc4

Please sign in to comment.