Changeset 9341 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/DividedScale.java
- Timestamp:
- 2016-01-07T18:13:44+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/DividedScale.java
r9284 r9341 124 124 if (bd.get(i) == lower) { 125 125 if (upper > bd.get(i+1)) 126 throw new StyleCache.RangeViolatedError("the new range must be within a single subrange (1)");126 throw new RangeViolatedError("the new range must be within a single subrange (1)"); 127 127 if (data.get(i) != null) 128 throw new StyleCache.RangeViolatedError("the new range must be within a subrange that has no data");128 throw new RangeViolatedError("the new range must be within a subrange that has no data"); 129 129 130 130 if (bd.get(i+1) == upper) { … … 142 142 } else { 143 143 if (bd.get(i) < upper) 144 throw new StyleCache.RangeViolatedError("the new range must be within a single subrange (2)");144 throw new RangeViolatedError("the new range must be within a single subrange (2)"); 145 145 if (data.get(i-1) != null) 146 146 throw new AssertionError();
Note:
See TracChangeset
for help on using the changeset viewer.