Enable PMD rule UnnecessaryReturn and fix violations

This commit is contained in:
Manuel Fuhr 2022-11-13 15:31:41 +01:00
parent 1bff48b649
commit 3b77f93c00
4 changed files with 0 additions and 4 deletions

View file

@ -132,7 +132,6 @@ public class OsmNogoPolygon extends OsmNodeNamed {
ilon = cx;
ilat = cy;
radius = rad * 1.001 + 1.0; // ensure the outside-of-enclosing-circle test in RoutingContext.calcDistance() is not passed by segments ending very close to the radius due to limited numerical precision
return;
}
/**