Changeset 6235 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java
- Timestamp:
- 2013-09-19T02:14:38+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java
r6211 r6235 30 30 private int defaultNodesIdx, defaultLinesIdx; 31 31 32 public ElemStyles() 33 { 32 /** 33 * Constructs a new {@code ElemStyles}. 34 */ 35 public ElemStyles() { 34 36 styleSources = new ArrayList<StyleSource>(); 35 37 } … … 116 118 osm.mappaintStyle = style.put(p.a, p.b); 117 119 } catch (StyleCache.RangeViolatedError e) { 118 thrownew AssertionError("Range violated. object: " + osm.getPrimitiveId() + ", current style: "+osm.mappaintStyle120 AssertionError error = new AssertionError("Range violated. object: " + osm.getPrimitiveId() + ", current style: "+osm.mappaintStyle 119 121 + ", scale: " + scale + ", new stylelist: " + p.a + ", new range: " + p.b); 122 error.initCause(e); 123 throw error; 120 124 } 121 125 osm.mappaintCacheIdx = cacheIdx;
Note:
See TracChangeset
for help on using the changeset viewer.
