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/gui/tagging/TagEditorModel.java

    r7864 r8291  
    6767     * @param rowSelectionModel the row selection model. Must not be null.
    6868     * @param colSelectionModel the column selection model. Must not be null.
    69      * @throws IllegalArgumentException thrown if {@code rowSelectionModel} is null
    70      * @throws IllegalArgumentException thrown if {@code colSelectionModel} is null
    71      */
    72     public TagEditorModel(DefaultListSelectionModel rowSelectionModel, DefaultListSelectionModel colSelectionModel) throws IllegalArgumentException{
     69     * @throws IllegalArgumentException if {@code rowSelectionModel} is null
     70     * @throws IllegalArgumentException if {@code colSelectionModel} is null
     71     */
     72    public TagEditorModel(DefaultListSelectionModel rowSelectionModel, DefaultListSelectionModel colSelectionModel) {
    7373        CheckParameterUtil.ensureParameterNotNull(rowSelectionModel, "rowSelectionModel");
    7474        CheckParameterUtil.ensureParameterNotNull(colSelectionModel, "colSelectionModel");
     
    173173     * @param tag the tag. Must not be null.
    174174     *
    175      * @exception IllegalArgumentException thrown, if tag is null
     175     * @throws IllegalArgumentException if tag is null
    176176     */
    177177    public void add(TagModel tag) {
Note: See TracChangeset for help on using the changeset viewer.