Changeset 7529 in josm for trunk/src/org/openstreetmap/josm/actions/upload
- Timestamp:
- 2014-09-12T01:57:41+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/upload/ApiPreconditionCheckerHook.java
r7434 r7529 32 32 // should be displayed. 33 33 api.initialize(NullProgressMonitor.INSTANCE); 34 long maxNodes = 0; 35 if (api.getCapabilities().isDefined("waynodes", "maximum")) { 36 maxNodes = api.getCapabilities().getLong("waynodes","maximum"); 37 } 34 long maxNodes = api.getCapabilities().getMaxWayNodes(); 38 35 if (maxNodes > 0) { 39 36 if( !checkMaxNodes(apiData.getPrimitivesToAdd(), maxNodes))
Note:
See TracChangeset
for help on using the changeset viewer.