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/mappaint/TextElement.java

    r8087 r8291  
    113113     * @return the text element or null, if the style properties don't include
    114114     * properties for text rendering
    115      * @throws IllegalArgumentException thrown if {@code defaultTextColor} is null
    116      */
    117     public static TextElement create(Environment env, Color defaultTextColor, boolean defaultAnnotate)  throws IllegalArgumentException{
     115     * @throws IllegalArgumentException if {@code defaultTextColor} is null
     116     */
     117    public static TextElement create(Environment env, Color defaultTextColor, boolean defaultAnnotate) {
    118118        CheckParameterUtil.ensureParameterNotNull(defaultTextColor);
    119119        Cascade c = env.mc.getCascade(env.layer);
Note: See TracChangeset for help on using the changeset viewer.