Changeset 12577 in josm


Ignore:
Timestamp:
2017-08-06T22:04:55+02:00 (4 months ago)
Author:
Don-vip
Message:

see #15057 - fix PMD issue

File:
1 edited

Legend:

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

    r12575 r12577  
    8989        OverpassQueryListMouseAdapter mouseHandler = new OverpassQueryListMouseAdapter(lsResult, lsResultModel);
    9090        super.lsResult.setCellRenderer(new OverpassQueryCellRendered());
    91         super.setDblClickListener(this::getDblClickListener);
     91        super.setDblClickListener(e -> doubleClickEvent());
    9292        super.lsResult.addMouseListener(mouseHandler);
    9393        super.lsResult.addMouseMotionListener(mouseHandler);
     
    229229    }
    230230
    231     private void getDblClickListener(ActionEvent e) {
     231    private void doubleClickEvent() {
    232232        Optional<SelectorItem> selectedItem = this.getSelectedItem();
    233233
Note: See TracChangeset for help on using the changeset viewer.