Changeset 18989 in josm for trunk/scripts
- Timestamp:
- 2024-02-20T16:44:22+01:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.java
r18801 r18989 1 1 // License: GPL. For details, see LICENSE file. 2 2 3 import static java.nio.charset.StandardCharsets.UTF_8; 3 4 import static org.apache.commons.lang3.StringUtils.isBlank; … … 38 39 import java.util.stream.Collectors; 39 40 40 import jakarta.json.Json;41 import jakarta.json.JsonArray;42 import jakarta.json.JsonNumber;43 import jakarta.json.JsonObject;44 import jakarta.json.JsonReader;45 import jakarta.json.JsonString;46 import jakarta.json.JsonValue;47 48 41 import org.openstreetmap.gui.jmapviewer.Coordinate; 49 42 import org.openstreetmap.josm.data.Preferences; … … 66 59 import org.openstreetmap.josm.tools.Utils; 67 60 import org.xml.sax.SAXException; 61 62 import jakarta.json.Json; 63 import jakarta.json.JsonArray; 64 import jakarta.json.JsonNumber; 65 import jakarta.json.JsonObject; 66 import jakarta.json.JsonReader; 67 import jakarta.json.JsonString; 68 import jakarta.json.JsonValue; 68 69 69 70 /** … … 500 501 501 502 for (ImageryInfo e : josmEntries) { 503 if (!e.isValid()) { 504 myprintln("~~~ JOSM-Entry missing fields (" + String.join(", ", e.getMissingFields()) + "): " + getDescription(e)); 505 } 502 506 if (isBlank(getUrl(e))) { 503 507 myprintln("~~~ JOSM-Entry without URL: " + getDescription(e));
Note:
See TracChangeset
for help on using the changeset viewer.