- Timestamp:
- 2020-04-18T15:04:48+02:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/InternetTags.java
r16334 r16337 11 11 import org.openstreetmap.josm.command.ChangePropertyCommand; 12 12 import org.openstreetmap.josm.command.Command; 13 import org.openstreetmap.josm.data.osm.Node;14 13 import org.openstreetmap.josm.data.osm.OsmPrimitive; 15 import org.openstreetmap.josm.data.osm.Relation;16 import org.openstreetmap.josm.data.osm.Way;17 14 import org.openstreetmap.josm.data.validation.Severity; 18 15 import org.openstreetmap.josm.data.validation.Test; -
trunk/src/org/openstreetmap/josm/gui/io/CustomConfigurator.java
r16329 r16337 477 477 private void processPreferencesElement(Element item) { 478 478 String oper = evalVars(item.getAttribute("operation")); 479 String id = evalVars(item.getAttribute("id"));480 479 481 480 if ("delete-keys".equals(oper)) { -
trunk/src/org/openstreetmap/josm/tools/OverpassTurboQueryWizard.java
r16336 r16337 90 90 final EnumSet<OsmPrimitiveType> types = EnumSet.noneOf(OsmPrimitiveType.class); 91 91 final String query = constructQuery(conjunction, types); 92 final Stream<String> typeStream =types.isEmpty() || types.size() == 392 (types.isEmpty() || types.size() == 3 93 93 ? Stream.of("nwr") 94 : types.stream().map(OsmPrimitiveType::getAPIName) ;95 typeStream.forEach(type -> queryLines.add(" " + type + query + queryLineSuffix + ";"));94 : types.stream().map(OsmPrimitiveType::getAPIName)) 95 .forEach(type -> queryLines.add(" " + type + query + queryLineSuffix + ";")); 96 96 } 97 97 queryLines.add(");");
Note:
See TracChangeset
for help on using the changeset viewer.