Changeset 14192 in josm for trunk/src/org


Ignore:
Timestamp:
2018-08-29T01:09:39+02:00 (6 years ago)
Author:
Don-vip
Message:

spotbugs - BC_UNCONFIRMED_CAST_OF_RETURN_VALUE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/RefreshAction.java

    r14153 r14192  
    4343        IRelationEditor editor = editorAccess.getEditor();
    4444        if (editor instanceof JComponent) {
    45             JRootPane rootPane = ((JComponent) editorAccess.getEditor()).getRootPane();
     45            JRootPane rootPane = ((JComponent) editor).getRootPane();
    4646            rootPane.getActionMap().put("refresh", this);
    4747            rootPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(sc.getKeyStroke(), "refresh");
Note: See TracChangeset for help on using the changeset viewer.