Gerd Petermann schrieb (26/11/14 -- 11:17):

[...]
driveOnLeft = props.getProperty("drive-on-left") != null;
[vs.]
linkPOIsToWays = props.getProperty("link-pois-to-ways", false);

I think we should always use the latter method. Do you agree?

Hi Gerd,

definitly. The first solution only makes sense if the parameter doesn't accept a value at all (i.e. if it is a switch with an implied value of /true/ only).

Viele Grüße,
Axel.
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to