Minor code cleaning.
This commit is contained in:
parent
85fb193808
commit
1a536dd759
@ -52,19 +52,16 @@ class ArcForward implements Arc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
||||||
public int getLength() {
|
public int getLength() {
|
||||||
return length;
|
return length;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
||||||
public double getMinimumTravelTime() {
|
public double getMinimumTravelTime() {
|
||||||
return getLength() * 3600.0 / (info.getMaximumSpeed() * 1000.0);
|
return getLength() * 3600.0 / (info.getMaximumSpeed() * 1000.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
||||||
public RoadInformation getRoadInformation() {
|
public RoadInformation getRoadInformation() {
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user