docs: @Pure
  	public static int  getPreferredRoadColor(RoadType roadType, boolean useSystemValue) {
  		final RoadType rt = roadType == null ? RoadType.OTHER : roadType;
  		final Preferences prefs = Preferences.userNodeForPackage(RoadNetworkLayerConstants.class);
  		if (prefs != null) {
  			final String str = prefs.get("ROAD_COLOR_" + rt.name().toUpperCase(), null); //$NON-NLS-1$
  			if (str != null) {
  				try {
  					return Integer.valueOf(str);
  				} catch (Throwable exception) {
  					//
  				}
  			}
  		}
  		if (useSystemValue) {
  			return DEFAULT_ROAD_COLORS[rt.ordinal() * 2];
  		}
  		return 0;
  	}