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/OsmApi.java

    r8285 r8291  
    9090     * @param serverUrl  the server URL
    9191     * @return the OsmApi
    92      * @throws IllegalArgumentException thrown, if serverUrl is null
     92     * @throws IllegalArgumentException if serverUrl is null
    9393     *
    9494     */
     
    134134     *
    135135     * @param serverUrl the server URL. Must not be null
    136      * @throws IllegalArgumentException thrown, if serverUrl is null
     136     * @throws IllegalArgumentException if serverUrl is null
    137137     */
    138138    protected OsmApi(String serverUrl)  {
     
    417417     * @param progressMonitor the progress monitor
    418418     * @throws OsmTransferException signifying a non-200 return code, or connection errors
    419      * @throws IllegalArgumentException thrown if changeset is null
     419     * @throws IllegalArgumentException if changeset is null
    420420     */
    421421    public void openChangeset(Changeset changeset, ProgressMonitor progressMonitor) throws OsmTransferException {
     
    487487     *
    488488     * @throws OsmTransferException if something goes wrong.
    489      * @throws IllegalArgumentException thrown if changeset is null
    490      * @throws IllegalArgumentException thrown if changeset.getId() <= 0
     489     * @throws IllegalArgumentException if changeset is null
     490     * @throws IllegalArgumentException if changeset.getId() <= 0
    491491     */
    492492    public void closeChangeset(Changeset changeset, ProgressMonitor monitor) throws OsmTransferException {
     
    756756     * Ensures that the current changeset can be used for uploading data
    757757     *
    758      * @throws OsmTransferException thrown if the current changeset can't be used for
    759      * uploading data
     758     * @throws OsmTransferException if the current changeset can't be used for uploading data
    760759     */
    761760    protected void ensureValidChangeset() throws OsmTransferException {
     
    781780     *
    782781     * @param changeset the changeset
    783      * @throws IllegalArgumentException thrown if changeset.getId() <= 0
    784      * @throws IllegalArgumentException thrown if !changeset.isOpen()
     782     * @throws IllegalArgumentException if changeset.getId() <= 0
     783     * @throws IllegalArgumentException if !changeset.isOpen()
    785784     */
    786785    public void setChangeset(Changeset changeset) {
Note: See TracChangeset for help on using the changeset viewer.