Minor code cleaning.

This commit is contained in:
Holt59 2018-03-08 23:18:51 +01:00
parent 85fb193808
commit 1a536dd759

View File

@ -52,19 +52,16 @@ class ArcForward implements Arc {
}
@Override
public int getLength() {
return length;
}
@Override
public double getMinimumTravelTime() {
return getLength() * 3600.0 / (info.getMaximumSpeed() * 1000.0);
}
@Override
public RoadInformation getRoadInformation() {
return info;
}