Ignore:
Timestamp:
2016-05-15T00:51:10+02: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/actions/upload/UploadNotesTask.java

    r10134 r10212  
    117117                }
    118118                updatedNotes.put(note, newNote);
    119             } catch (Exception e) {
     119            } catch (OsmTransferException e) {
    120120                Main.error("Failed to upload note to server: " + note.getId());
    121121                Main.error(e);
Note: See TracChangeset for help on using the changeset viewer.