Changeset 34271 in osm for applications/editors/josm
- Timestamp:
- 2018-06-11T21:21:40+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/reverter/src/reverter/corehacks
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/src/reverter/corehacks/OsmChangesetContentParser.java
r32905 r34271 287 287 * @param source the input stream with the changeset content as XML document. Must not be null. 288 288 * @throws IllegalArgumentException thrown if source is null. 289 * @throws UnsupportedEncodingException if the named charset is not supported 289 290 */ 290 291 public OsmChangesetContentParser(InputStream source) throws UnsupportedEncodingException { … … 303 304 * Parses the content 304 305 * 305 * @param progressMonitor the progress monitor. Set to {@ seeNullProgressMonitor#INSTANCE}306 * @param progressMonitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} 306 307 * if null 307 308 * @return the parsed data -
applications/editors/josm/plugins/reverter/src/reverter/corehacks/OsmServerChangesetReader.java
r34208 r34271 16 16 import org.openstreetmap.josm.data.osm.Changeset; 17 17 import org.openstreetmap.josm.data.osm.DataSet; 18 import org.openstreetmap.josm.data.osm.OsmPrimitive; 18 19 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 19 20 import org.openstreetmap.josm.gui.progress.ProgressMonitor; … … 27 28 28 29 /** 29 * Reads the history of an {@ seeOsmPrimitive} from the OSM API server.30 * Reads the history of an {@link OsmPrimitive} from the OSM API server. 30 31 * 31 32 */ … … 52 53 * Queries a list 53 54 * @param query the query specification. Must not be null. 54 * @param monitor a progress monitor. Set to {@ seeNullProgressMonitor#INSTANCE} if null55 * @param monitor a progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null 55 56 * @return the list of changesets read from the server 56 57 * @throws IllegalArgumentException thrown if query is null … … 83 84 * Reads the changeset with id <code>id</code> from the server 84 85 * 85 * @param id the changeset id. id >0 required.86 * @param monitor the progress monitor. Set to {@ seeNullProgressMonitor#INSTANCE} if null86 * @param id the changeset id. id > 0 required. 87 * @param monitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null 87 88 * @return the changeset read 88 89 * @throws OsmTransferException thrown if something goes wrong 89 * @throws IllegalArgumentException if id <= 090 * @throws IllegalArgumentException if id <= 0 90 91 */ 91 92 public Changeset readChangeset(long id, ProgressMonitor monitor) throws OsmTransferException { … … 119 120 * Reads the changeset with id <code>id</code> from the server 120 121 * 121 * @param ids the list of ids. Ignored if null. Only load changesets for ids >0.122 * @param monitor the progress monitor. Set to {@ seeNullProgressMonitor#INSTANCE} if null122 * @param ids the list of ids. Ignored if null. Only load changesets for ids > 0. 123 * @param monitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null 123 124 * @return the changeset read 124 125 * @throws OsmTransferException thrown if something goes wrong 125 * @throws IllegalArgumentException if id <= 0126 * @throws IllegalArgumentException if id <= 0 126 127 */ 127 128 public List<Changeset> readChangesets(Collection<Integer> ids, ProgressMonitor monitor) throws OsmTransferException { … … 168 169 * Downloads the content of a changeset 169 170 * 170 * @param id the changeset id. >0 required.171 * @param monitor the progress monitor. {@ seeNullProgressMonitor#INSTANCE} assumed if null.171 * @param id the changeset id. >0 required. 172 * @param monitor the progress monitor. {@link NullProgressMonitor#INSTANCE} assumed if null. 172 173 * @return the changeset content 173 * @throws IllegalArgumentException thrown if id <= 0174 * @throws IllegalArgumentException thrown if id <= 0 174 175 * @throws OsmTransferException thrown if something went wrong 175 176 */
Note:
See TracChangeset
for help on using the changeset viewer.