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/preferences/server/OAuthAccessTokenHolder.java

    r8126 r8291  
    145145     * @param pref the preferences. Must not be null.
    146146     * @param cm the credential manager. Must not be null.
    147      * @throws IllegalArgumentException thrown if cm is null
    148      */
    149     public void init(Preferences pref, CredentialsAgent cm) throws IllegalArgumentException {
     147     * @throws IllegalArgumentException if cm is null
     148     */
     149    public void init(Preferences pref, CredentialsAgent cm) {
    150150        CheckParameterUtil.ensureParameterNotNull(pref, "pref");
    151151        CheckParameterUtil.ensureParameterNotNull(cm, "cm");
     
    171171     * @param preferences the preferences. Must not be null.
    172172     * @param cm the credentials manager. Must not be null.
    173      * @throws IllegalArgumentException thrown if preferences is null
    174      * @throws IllegalArgumentException thrown if cm is null
    175      */
    176     public void save(Preferences preferences, CredentialsAgent cm) throws IllegalArgumentException {
     173     * @throws IllegalArgumentException if preferences is null
     174     * @throws IllegalArgumentException if cm is null
     175     */
     176    public void save(Preferences preferences, CredentialsAgent cm) {
    177177        CheckParameterUtil.ensureParameterNotNull(preferences, "preferences");
    178178        CheckParameterUtil.ensureParameterNotNull(cm, "cm");
Note: See TracChangeset for help on using the changeset viewer.