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/util/AdjustmentSynchronizer.java

    r7005 r8291  
    9090     * @param adjustable the adjustable
    9191     * @return true, if the adjustable is participating in synchronized scrolling, false otherwise
    92      * @throws IllegalStateException thrown, if adjustable is not registered for synchronized scrolling
     92     * @throws IllegalStateException if adjustable is not registered for synchronized scrolling
    9393     */
    94     protected boolean isParticipatingInSynchronizedScrolling(Adjustable adjustable) throws IllegalStateException {
     94    protected boolean isParticipatingInSynchronizedScrolling(Adjustable adjustable) {
    9595        if (! synchronizedAdjustables.contains(adjustable))
    9696            throw new IllegalStateException(tr("Adjustable {0} not registered yet.", adjustable));
     
    110110     * @param view  the checkbox to control whether an adjustable participates in synchronized adjustment
    111111     * @param adjustable the adjustable
    112      * @exception IllegalArgumentException thrown, if view is null
    113      * @exception IllegalArgumentException thrown, if adjustable is null
     112     * @throws IllegalArgumentException if view is null
     113     * @throws IllegalArgumentException if adjustable is null
    114114     */
    115115    public void adapt(final JCheckBox view, final Adjustable adjustable)  {
Note: See TracChangeset for help on using the changeset viewer.