Ignore:
Timestamp:
2013-10-07T00:04:48+02:00 (13 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs - Nested blocks of code should not be left empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapStatus.java

    r6296 r6310  
    218218                    synchronized (this) {
    219219                        // TODO Would be better if the timeout wasn't necessary
    220                         try {wait(1000);} catch (InterruptedException e) {}
     220                        try {
     221                            wait(1000);
     222                        } catch (InterruptedException e) {
     223                            Main.warn(e);
     224                        }
    221225                        ms.modifiers = mouseState.modifiers;
    222226                        ms.mousePos = mouseState.mousePos;
     
    337341                        });
    338342                    } catch (Exception e) {
    339 
     343                        Main.warn(e);
    340344                    }
    341345                }
Note: See TracChangeset for help on using the changeset viewer.