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

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

Location:
trunk/src/org/openstreetmap/josm/io
Files:
2 edited

Legend:

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

    r10615 r11535  
    114114                key = watcher.take();
    115115            } catch (InterruptedException x) {
     116                Thread.currentThread().interrupt();
    116117                return;
    117118            }
  • trunk/src/org/openstreetmap/josm/io/OsmApi.java

    r11532 r11535  
    563563            } catch (InterruptedException ex) {
    564564                Main.warn("InterruptedException in "+getClass().getSimpleName()+" during sleep");
     565                Thread.currentThread().interrupt();
    565566            }
    566567        }
Note: See TracChangeset for help on using the changeset viewer.