Changeset 11732 in josm for trunk/src


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

Legend:

Unmodified
Added
Removed
  • 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.