Changeset 14108 in josm for trunk/src/org
- Timestamp:
- 2018-08-08T21:05:54+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/importexport/OsmChangeImporter.java
r14101 r14108 76 76 if (!hasOsmData && !hasNotes) { 77 77 // FIXME: remove UI stuff from IO subsystem 78 GuiHelper.runInEDT(() -> {78 GuiHelper.runInEDT(() -> 79 79 JOptionPane.showMessageDialog( 80 80 Main.parent, 81 81 tr("No data found in file {0}.", associatedFile.getPath()), 82 82 tr("Open OsmChange file"), 83 JOptionPane.INFORMATION_MESSAGE) ;84 });83 JOptionPane.INFORMATION_MESSAGE) 84 ); 85 85 } 86 86 } -
trunk/src/org/openstreetmap/josm/gui/layer/gpx/ConvertToDataLayerAction.java
r14103 r14108 196 196 * @return {@link TagConversionDialogResponse} containing the selection 197 197 */ 198 private TagConversionDialogResponse showTagConversionDialog(List<String> keys, List<String> listPos, List<String> listNeg) {198 private static TagConversionDialogResponse showTagConversionDialog(List<String> keys, List<String> listPos, List<String> listNeg) { 199 199 TagConversionDialogResponse res = new TagConversionDialogResponse(listPos, listNeg); 200 200 String lSel = Config.getPref().get(GPX_SETTING + ".last", "all"); -
trunk/src/org/openstreetmap/josm/io/OsmJsonReader.java
r14099 r14108 139 139 } 140 140 141 private void readWayNodesAndTags(JsonObject item, Way w, Collection<Long> nodeIds) {141 private static void readWayNodesAndTags(JsonObject item, Way w, Collection<Long> nodeIds) { 142 142 for (JsonValue v : item.getJsonArray("nodes")) { 143 143 nodeIds.add(((JsonNumber) v).longValue());
Note:
See TracChangeset
for help on using the changeset viewer.