Skip to content

Commit bc0bb87

Browse files
committed
add comment
1 parent 77170ac commit bc0bb87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openrouteservice/src/main/java/org/heigit/ors/routing/configuration/RoutingManagerConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static RoutingManagerConfiguration loadFromFile(String path) throws IOExc
8080
List<RouteProfileConfiguration> newProfiles = new ArrayList<>();
8181
List<String> fastIsochroneProfileList = IsochronesServiceSettings.getParametersList(IsochronesServiceSettings.SERVICE_NAME_FASTISOCHRONES + "profiles.active");
8282
Map<String,Object> defaultFastIsochroneParams = IsochronesServiceSettings.getParametersMap(IsochronesServiceSettings.SERVICE_NAME_FASTISOCHRONES + "profiles.default_params", true);
83-
if (defaultFastIsochroneParams == null) {
83+
if (defaultFastIsochroneParams == null) { // default to disabled if ors.services.isochrones.fastisochrones not available in app.config
8484
defaultFastIsochroneParams = new HashMap<>();
8585
defaultFastIsochroneParams.put("enabled", false);
8686
}

0 commit comments

Comments
 (0)