Changeset 11480 in josm


Ignore:
Timestamp:
2017-01-18T08:59:02+01:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S2221 - "Exception" should not be caught when not required by called methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmServerWriter.java

    r11288 r11480  
    8686
    8787    /**
    88      * Uploads the changes individually. Invokes one API call per uploaded primitmive.
     88     * Uploads the changes individually. Invokes one API call per uploaded primitive.
    8989     *
    9090     * @param primitives the collection of primitives to upload
     
    118118                progressMonitor.worked(1);
    119119            }
    120         } catch (OsmTransferException e) {
    121             throw e;
    122         } catch (Exception e) {
    123             throw new OsmTransferException(e);
    124120        } finally {
    125121            progressMonitor.finishTask();
Note: See TracChangeset for help on using the changeset viewer.