Changeset 10184 in josm for trunk


Ignore:
Timestamp:
2016-05-11T05:09:45+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar - squid:RedundantThrowsDeclarationCheck - Throws declarations should not be superfluous

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java

    r9899 r10184  
    3131 * @author Dave Hansen <dave@sr71.net>
    3232 * @author Upliner <upliner@gmail.com>
    33  *
     33 * @since 3715
    3434 */
    3535public class TMSLayer extends AbstractCachedTileSourceLayer<TMSTileSource> implements NativeScaleLayer {
     
    7272     */
    7373    @Override
    74     protected TMSTileSource getTileSource(ImageryInfo info) throws IllegalArgumentException {
     74    protected TMSTileSource getTileSource(ImageryInfo info) {
    7575        return getTileSourceStatic(info, new Runnable() {
    7676            @Override
     
    104104     * @throws IllegalArgumentException if url from imagery info is null or invalid
    105105     */
    106     public static AbstractTMSTileSource getTileSourceStatic(ImageryInfo info) throws IllegalArgumentException {
     106    public static AbstractTMSTileSource getTileSourceStatic(ImageryInfo info) {
    107107        return getTileSourceStatic(info, null);
    108108    }
     
    121121     * @throws IllegalArgumentException if url from imagery info is null or invalid
    122122     */
    123     public static TMSTileSource getTileSourceStatic(ImageryInfo info, Runnable attributionLoadedTask) throws IllegalArgumentException {
     123    public static TMSTileSource getTileSourceStatic(ImageryInfo info, Runnable attributionLoadedTask) {
    124124        if (info.getImageryType() == ImageryType.TMS) {
    125125            TemplatedTMSTileSource.checkUrl(info.getUrl());
Note: See TracChangeset for help on using the changeset viewer.