Changeset 10006 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2016-03-18T00:41:42+01:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 2 edited
-
ChangesetQuery.java (modified) (3 diffs)
-
OsmServerChangesetReader.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/ChangesetQuery.java
r8840 r10006 16 16 import java.util.Map.Entry; 17 17 18 import org.openstreetmap.josm.Main; 18 19 import org.openstreetmap.josm.data.Bounds; 19 20 import org.openstreetmap.josm.data.coor.LatLon; … … 23 24 24 25 public class ChangesetQuery { 26 27 /** 28 * Maximum number of changesets returned by the OSM API call "/changesets?" 29 */ 30 public static int MAX_CHANGESETS_NUMBER = 100; 25 31 26 32 /** … … 234 240 public ChangesetQuery forChangesetIds(Collection<Long> changesetIds) { 235 241 CheckParameterUtil.ensureParameterNotNull(changesetIds, "changesetIds"); 242 if (changesetIds.size() > MAX_CHANGESETS_NUMBER) { 243 Main.warn("Changeset query built with more than " + MAX_CHANGESETS_NUMBER + " changeset ids (" + changesetIds.size() + ")"); 244 } 236 245 this.changesetIds = changesetIds; 237 246 return this; -
trunk/src/org/openstreetmap/josm/io/OsmServerChangesetReader.java
r8540 r10006 73 73 try (InputStream in = getInputStream(sb.toString(), monitor.createSubTaskMonitor(1, true))) { 74 74 if (in == null) 75 return null;75 return Collections.emptyList(); 76 76 monitor.indeterminateSubTask(tr("Downloading changesets ...")); 77 77 result = OsmChangesetParser.parse(in, monitor.createSubTaskMonitor(1, true));
Note:
See TracChangeset
for help on using the changeset viewer.
