Changeset 11732 in josm


Ignore:
Timestamp:
2017-03-14T19:27:54+01:00 (8 months ago)
Author:
Klumbumbus
Message:
  • typo from r11721
  • fix #14539 - allow leisure=fitness_centre as physical feature for sport tags
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/combinations.mapcss

    r11687 r11732  
    337337
    338338/* #9593, #11183, #12418, #12761 */
    339 *[sport][sport!=skiing][!building][!club][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground|ice_rink|horse_riding|fitness_station|bowling_alley)$/][natural !~ /^(beach|bare_rock|cliff|peak|water)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"][shop!=sports] {
     339*[sport][sport!=skiing][!building][!club][tourism != hotel][highway != raceway][leisure !~ /^(sports_centre|stadium|track|pitch|golf_course|water_park|swimming_pool|recreation_ground|ice_rink|horse_riding|fitness_centre|fitness_station|bowling_alley)$/][natural !~ /^(beach|bare_rock|cliff|peak|water)$/][amenity !~ /^(pub|restaurant|swimming_pool)$/][landuse !~ /^(recreation_ground|piste|farm|farmland)$/][barrier !~ /^(wall|retaining_wall)$/][!"piste:type"][shop!=sports] {
    340340    throwWarning: tr("sport without physical feature");
    341341    group: tr("missing tag");
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r11721 r11732  
    15121512    public static double clamp(double val, double min, double max) {
    15131513        if (min > max) {
    1514             throw new IllegalArgumentException(MessageFormat.format("Parameter min ({0}) cannot be greather than max ({1})", min, max));
     1514            throw new IllegalArgumentException(MessageFormat.format("Parameter min ({0}) cannot be greater than max ({1})", min, max));
    15151515        } else if (val < min) {
    15161516            return min;
     
    15331533    public static int clamp(int val, int min, int max) {
    15341534        if (min > max) {
    1535             throw new IllegalArgumentException(MessageFormat.format("Parameter min ({0}) cannot be greather than max ({1})", min, max));
     1535            throw new IllegalArgumentException(MessageFormat.format("Parameter min ({0}) cannot be greater than max ({1})", min, max));
    15361536        } else if (val < min) {
    15371537            return min;
Note: See TracChangeset for help on using the changeset viewer.