Ignore:
Timestamp:
2015-10-13T23:50:14+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar - squid:S2325 - "private" methods that don't access instance data should be "static"

File:
1 edited

Legend:

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

    r8846 r8870  
    198198    }
    199199
    200     private boolean isFocusInMainWindow() {
     200    private static boolean isFocusInMainWindow() {
    201201        Component focused = KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner();
    202202        return focused != null && SwingUtilities.getWindowAncestor(focused) instanceof JFrame;
Note: See TracChangeset for help on using the changeset viewer.