Changeset 7516 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2014-09-09T17:26:16+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetReader.java
r7248 r7516 115 115 o = lastIdIterators.peek().next(); 116 116 if (!lastIdIterators.peek().hasNext()) { 117 // remove iterator i sis empty117 // remove iterator if is empty 118 118 lastIdIterators.pop(); 119 119 } … … 146 146 throw new SAXException(tr("Reference {0} is being used before it was defined", ref)); 147 147 } 148 lastIdIterators.push(byId.get(ref).iterator()); 148 Iterator<Object> it = byId.get(ref).iterator(); 149 if (it.hasNext()) { 150 lastIdIterators.push(it); 151 } else { 152 Main.warn("Ignoring reference '"+ref+"' denoting an empty chunk"); 153 } 149 154 continue; 150 155 }
Note:
See TracChangeset
for help on using the changeset viewer.