Changeset 4713 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2011-12-26T21:48:25+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r4492 r4713 5 5 import static org.openstreetmap.josm.tools.Utils.equal; 6 6 7 import java.io.BufferedReader;8 7 import java.io.IOException; 9 8 import java.io.InputStream; 10 import java.io.InputStreamReader;11 import java.io.UnsupportedEncodingException;12 9 import java.util.ArrayList; 13 10 import java.util.Arrays; … … 18 15 import javax.xml.parsers.SAXParserFactory; 19 16 20 import org.openstreetmap.josm.Main;21 17 import org.openstreetmap.josm.data.imagery.ImageryInfo; 22 18 import org.openstreetmap.josm.data.imagery.ImageryInfo.ImageryBounds; … … 25 21 import org.openstreetmap.josm.io.MirroredInputStream; 26 22 import org.openstreetmap.josm.io.UTFInputStreamReader; 27 import org.openstreetmap.josm.tools.Utils;28 23 import org.xml.sax.Attributes; 29 24 import org.xml.sax.InputSource; … … 130 125 "terms-of-use-url", 131 126 "country-code", 127 "icon", 132 128 }).contains(qName)) { 133 129 newState = State.ENTRY_ATTRIBUTE; … … 260 256 } else if (qName.equals("country-code")) { 261 257 entry.setCountryCode(accumulator.toString()); 258 } else if (qName.equals("icon")) { 259 entry.setIcon(accumulator.toString()); 262 260 } else { 263 261 }
Note:
See TracChangeset
for help on using the changeset viewer.