Changeset 6830 in josm for trunk/src/org/openstreetmap/josm/io/OsmApi.java
- Timestamp:
- 2014-02-10T00:51:53+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r6822 r6830 46 46 47 47 /** 48 * Class that encapsulates the communications with the <a href="http://wiki.openstreetmap.org/wiki/API_v0.6">OSM API</a>.<br /><br/>48 * Class that encapsulates the communications with the <a href="http://wiki.openstreetmap.org/wiki/API_v0.6">OSM API</a>.<br><br> 49 49 * 50 * All interaction with the server-side OSM API should go through this class.<br /><br/>50 * All interaction with the server-side OSM API should go through this class.<br><br> 51 51 * 52 52 * It is conceivable to extract this into an interface later and create various … … 426 426 /** 427 427 * Updates a changeset with the keys in <code>changesetUpdate</code>. The changeset must not 428 * be null and id >0 must be true.428 * be null and id > 0 must be true. 429 429 * 430 430 * @param changeset the changeset to update. Must not be null. … … 433 433 * @throws OsmTransferException if something goes wrong. 434 434 * @throws IllegalArgumentException if changeset is null 435 * @throws IllegalArgumentException if changeset.getId() <= 0435 * @throws IllegalArgumentException if changeset.getId() <= 0 436 436 * 437 437 */ … … 466 466 467 467 /** 468 * Closes a changeset on the server. Sets changeset.setOpen(false) if this operation 469 * succeeds. 470 * 471 * @param changeset the changeset to be closed. Must not be null. changeset.getId() > 0 required. 468 * Closes a changeset on the server. Sets changeset.setOpen(false) if this operation succeeds. 469 * 470 * @param changeset the changeset to be closed. Must not be null. changeset.getId() > 0 required. 472 471 * @param monitor the progress monitor. If null, uses {@link NullProgressMonitor#INSTANCE} 473 472 * 474 473 * @throws OsmTransferException if something goes wrong. 475 474 * @throws IllegalArgumentException thrown if changeset is null 476 * @throws IllegalArgumentException thrown if changeset.getId() <= 0475 * @throws IllegalArgumentException thrown if changeset.getId() <= 0 477 476 */ 478 477 public void closeChangeset(Changeset changeset, ProgressMonitor monitor) throws OsmTransferException { … … 767 766 /** 768 767 * Sets the changesets to which further data uploads are directed. The changeset 769 * can be null. If it isn't null it must have been created, i.e. id >0 is required. Furthermore,768 * can be null. If it isn't null it must have been created, i.e. id > 0 is required. Furthermore, 770 769 * it must be open. 771 770 * 772 771 * @param changeset the changeset 773 * @throws IllegalArgumentException thrown if changeset.getId() <= 0772 * @throws IllegalArgumentException thrown if changeset.getId() <= 0 774 773 * @throws IllegalArgumentException thrown if !changeset.isOpen() 775 774 */
Note:
See TracChangeset
for help on using the changeset viewer.