Changeset 10689 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2016-07-31T14:11:38+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/MultiFetchOverpassObjectReader.java
r10615 r10689 3 3 4 4 import java.util.Set; 5 import java.util.function.Function; 5 6 6 7 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; … … 17 18 @Override 18 19 protected String buildRequestString(final OsmPrimitiveType type, Set<Long> idPackage) { 19 final Utils.Function<Long, Object> toOverpassExpression = x -> type.getAPIName() + '(' + x + ");>;";20 final Function<Long, Object> toOverpassExpression = x -> type.getAPIName() + '(' + x + ");>;"; 20 21 final String query = '(' + Utils.join("", Utils.transform(idPackage, toOverpassExpression)) + ");out meta;"; 21 22 return "interpreter?data=" + Utils.encodeUrl(query); -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandler.java
r10615 r10689 5 5 6 6 import java.util.Arrays; 7 import java.util.function.Function; 7 8 8 9 import org.openstreetmap.josm.Main; … … 14 15 import org.openstreetmap.josm.io.remotecontrol.PermissionPrefWithDefault; 15 16 import org.openstreetmap.josm.tools.Utils; 16 import org.openstreetmap.josm.tools.Utils.Function;17 17 18 18 /**
Note:
See TracChangeset
for help on using the changeset viewer.