Ignore:
Timestamp:
2017-02-04T15:19:54+01:00 (4 years ago)
Author:
Don-vip
Message:

sonar - squid:S2142 - "InterruptedException" should not be ignored

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/HttpClient.java

    r11381 r11535  
    664664        } catch (InterruptedException ex) {
    665665            Main.warn("InterruptedException in " + HttpClient.class + " during cancel");
     666            Thread.currentThread().interrupt();
    666667        }
    667668        connection.disconnect();
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java

    r11162 r11535  
    133133                                    } catch (InterruptedException e) {
    134134                                        Main.warn(e);
     135                                        Thread.currentThread().interrupt();
    135136                                    }
    136137                                }
  • trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportQueue.java

    r11211 r11535  
    8282            } catch (InterruptedException e) {
    8383                displayFor(BugReport.intercept(e));
     84                Thread.currentThread().interrupt();
    8485            }
    8586        }
Note: See TracChangeset for help on using the changeset viewer.