Ignore:
Timestamp:
2015-04-29T01:44:01+02:00 (10 years ago)
Author:
Don-vip
Message:

fix squid:RedundantThrowsDeclarationCheck + consistent Javadoc for exceptions

Location:
trunk/src/org/openstreetmap/josm/data/oauth
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java

    r6897 r8291  
    119119     *
    120120     * @param other the other parameters. Must not be null.
    121      * @throws IllegalArgumentException thrown if other is null
    122      */
    123     public OAuthParameters(OAuthParameters other) throws IllegalArgumentException{
     121     * @throws IllegalArgumentException if other is null
     122     */
     123    public OAuthParameters(OAuthParameters other) {
    124124        CheckParameterUtil.ensureParameterNotNull(other, "other");
    125125        this.consumerKey = other.consumerKey;
     
    226226     * @throws IllegalArgumentException if consumer is null
    227227     */
    228     public OAuthProvider buildProvider(OAuthConsumer consumer) throws IllegalArgumentException {
     228    public OAuthProvider buildProvider(OAuthConsumer consumer) {
    229229        CheckParameterUtil.ensureParameterNotNull(consumer, "consumer");
    230230        return new DefaultOAuthProvider(
  • trunk/src/org/openstreetmap/josm/data/oauth/OAuthToken.java

    r6883 r8291  
    3636     *
    3737     * @param other the other token. Must not be null.
    38      * @throws IllegalArgumentException thrown if other is null
     38     * @throws IllegalArgumentException if other is null
    3939     */
    40     public OAuthToken(OAuthToken other) throws IllegalArgumentException {
     40    public OAuthToken(OAuthToken other) {
    4141        CheckParameterUtil.ensureParameterNotNull(other, "other");
    4242        this.key = other.key;
Note: See TracChangeset for help on using the changeset viewer.