Ignore:
Timestamp:
2016-11-30T01:38:40+01:00 (3 years ago)
Author:
Don-vip
Message:

findbugs - fix some SIC_INNER_SHOULD_BE_STATIC_ANON

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/relation/RecentRelationsAction.java

    r10446 r11348  
    6161            Shortcut.SHIFT
    6262        );
    63         Main.registerActionShortcut(new AbstractAction() {
    64             @Override
    65             public void actionPerformed(ActionEvent e) {
    66                 EditRelationAction.launchEditor(getLastRelation());
    67             }
    68         }, shortcut);
     63        Main.registerActionShortcut(new LaunchEditorAction(), shortcut);
    6964    }
    7065
     
    148143    }
    149144
     145    protected static class LaunchEditorAction extends AbstractAction {
     146        @Override
     147        public void actionPerformed(ActionEvent e) {
     148            EditRelationAction.launchEditor(getLastRelation());
     149        }
     150    }
     151
    150152    protected static class RecentRelationsPopupMenu extends JPopupMenu {
    151153        /**
Note: See TracChangeset for help on using the changeset viewer.