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/widgets/AbstractTextComponentValidator.java

    r7083 r8291  
    8585     *
    8686     * @param tc the text component. Must not be null.
    87      * @throws IllegalArgumentException thrown if tc is null
     87     * @throws IllegalArgumentException if tc is null
    8888     */
    89     public AbstractTextComponentValidator(JTextComponent tc) throws IllegalArgumentException {
     89    public AbstractTextComponentValidator(JTextComponent tc) {
    9090        this(tc, true);
    9191    }
     
    9595     * This can be useful if the enter key stroke needs to be forwarded to the default button in a dialog.
    9696     */
    97     public AbstractTextComponentValidator(JTextComponent tc, boolean addActionListener) throws IllegalArgumentException {
     97    public AbstractTextComponentValidator(JTextComponent tc, boolean addActionListener) {
    9898        this(tc, true, true, addActionListener);
    9999    }
    100100
    101     public AbstractTextComponentValidator(JTextComponent tc, boolean addFocusListener, boolean addDocumentListener, boolean addActionListener) throws IllegalArgumentException {
     101    public AbstractTextComponentValidator(JTextComponent tc, boolean addFocusListener, boolean addDocumentListener, boolean addActionListener) {
    102102        CheckParameterUtil.ensureParameterNotNull(tc, "tc");
    103103        this.tc = tc;
Note: See TracChangeset for help on using the changeset viewer.