Ignore:
Timestamp:
2016-05-15T00:51:10+02:00 (10 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/JosmAction.java

    r10074 r10212  
    66import java.awt.event.KeyEvent;
    77import java.util.Collection;
     8import java.util.concurrent.CancellationException;
     9import java.util.concurrent.ExecutionException;
    810import java.util.concurrent.Future;
    911
     
    239241                        try {
    240242                            future.get();
    241                         } catch (Exception e) {
     243                        } catch (InterruptedException | ExecutionException | CancellationException e) {
    242244                            Main.error(e);
    243245                            return;
Note: See TracChangeset for help on using the changeset viewer.