Ignore:
Timestamp:
2020-02-24T21:48:16+01:00 (4 years ago)
Author:
simon04
Message:

fix #18759 - AssertionError on invalid MapCSS zoom range

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java

    r15920 r15925  
    725725
    726726        public static Range fromLevel(int a, int b) {
    727             if (a > b)
    728                 throw new AssertionError();
     727            // for input validation in Range constructor below
    729728            double lower = 0;
    730729            double upper = Double.POSITIVE_INFINITY;
Note: See TracChangeset for help on using the changeset viewer.