Ignore:
Timestamp:
2015-04-29T01:44:01+02:00 (9 years ago)
Author:
Don-vip
Message:

fix squid:RedundantThrowsDeclarationCheck + consistent Javadoc for exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmServerChangesetReader.java

    r7704 r8291  
    5858     * @param monitor a progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null
    5959     * @return the list of changesets read from the server
    60      * @throws IllegalArgumentException thrown if query is null
    61      * @throws OsmTransferException thrown if something goes wrong w
     60     * @throws IllegalArgumentException if query is null
     61     * @throws OsmTransferException if something goes wrong w
    6262     */
    6363    public List<Changeset> queryChangesets(ChangesetQuery query, ProgressMonitor monitor) throws OsmTransferException {
     
    9696     * @param monitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null
    9797     * @return the changeset read
    98      * @throws OsmTransferException thrown if something goes wrong
     98     * @throws OsmTransferException if something goes wrong
    9999     * @throws IllegalArgumentException if id &lt;= 0
    100100     * @since 7704
     
    137137     * @param monitor the progress monitor. Set to {@link NullProgressMonitor#INSTANCE} if null
    138138     * @return the changeset read
    139      * @throws OsmTransferException thrown if something goes wrong
     139     * @throws OsmTransferException if something goes wrong
    140140     * @throws IllegalArgumentException if id &lt;= 0
    141141     * @since 7704
     
    187187     * @param monitor the progress monitor. {@link NullProgressMonitor#INSTANCE} assumed if null.
    188188     * @return the changeset content
    189      * @throws IllegalArgumentException thrown if id &lt;= 0
    190      * @throws OsmTransferException thrown if something went wrong
    191      */
    192     public ChangesetDataSet downloadChangeset(int id, ProgressMonitor monitor) throws IllegalArgumentException, OsmTransferException {
     189     * @throws IllegalArgumentException if id &lt;= 0
     190     * @throws OsmTransferException if something went wrong
     191     */
     192    public ChangesetDataSet downloadChangeset(int id, ProgressMonitor monitor) throws OsmTransferException {
    193193        if (id <= 0)
    194194            throw new IllegalArgumentException(MessageFormat.format("Expected value of type integer > 0 for parameter ''{0}'', got {1}", "id", id));
Note: See TracChangeset for help on using the changeset viewer.