Changeset 8291 in josm for trunk/src/org/openstreetmap/josm/io/OsmServerBackreferenceReader.java
- Timestamp:
- 2015-04-29T01:44:01+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerBackreferenceReader.java
r7092 r8291 47 47 * @param primitive the primitive to be read. Must not be null. primitive.id > 0 expected 48 48 * 49 * @ exception IllegalArgumentException thrown if primitive is null50 * @ exception IllegalArgumentException thrown if primitive.id <= 051 */ 52 public OsmServerBackreferenceReader(OsmPrimitive primitive) throws IllegalArgumentException{49 * @throws IllegalArgumentException if primitive is null 50 * @throws IllegalArgumentException if primitive.id <= 0 51 */ 52 public OsmServerBackreferenceReader(OsmPrimitive primitive) { 53 53 CheckParameterUtil.ensureValidPrimitiveId(primitive, "primitive"); 54 54 this.id = primitive.getId(); … … 63 63 * @param type the type of the primitive. Must not be null. 64 64 * 65 * @exception IllegalArgumentException thrown if id <= 0 66 * @exception IllegalArgumentException thrown if type is null 67 * 68 */ 69 public OsmServerBackreferenceReader(long id, OsmPrimitiveType type) throws IllegalArgumentException { 65 * @throws IllegalArgumentException if id <= 0 66 * @throws IllegalArgumentException if type is null 67 */ 68 public OsmServerBackreferenceReader(long id, OsmPrimitiveType type) { 70 69 if (id <= 0) 71 70 throw new IllegalArgumentException(MessageFormat.format("Parameter ''{0}'' > 0 expected. Got ''{1}''.", "id", id)); … … 95 94 * @param readFull true, if referers should be read fully (i.e. including their immediate children) 96 95 * 97 * @exception IllegalArgumentException thrown if id <= 0 98 * @exception IllegalArgumentException thrown if type is null 99 * 100 */ 101 public OsmServerBackreferenceReader(long id, OsmPrimitiveType type, boolean readFull) throws IllegalArgumentException { 96 * @throws IllegalArgumentException if id <= 0 97 * @throws IllegalArgumentException if type is null 98 */ 99 public OsmServerBackreferenceReader(long id, OsmPrimitiveType type, boolean readFull) { 102 100 this(id, type); 103 101 this.readFull = readFull; … … 185 183 * @param progressMonitor the progress monitor 186 184 * @return the modified dataset 187 * @throws OsmTransferException thrownif an exception occurs.185 * @throws OsmTransferException if an exception occurs. 188 186 */ 189 187 protected DataSet readIncompletePrimitives(DataSet ds, ProgressMonitor progressMonitor) throws OsmTransferException { … … 224 222 * @param progressMonitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null. 225 223 * @return the dataset with the referring primitives 226 * @ exception OsmTransferException thrown if an error occurs while communicating with the server224 * @throws OsmTransferException if an error occurs while communicating with the server 227 225 */ 228 226 @Override
Note:
See TracChangeset
for help on using the changeset viewer.