Ignore:
Timestamp:
2016-06-24T09:10:57+02:00 (9 years ago)
Author:
donvip
Message:

checkstyle, update to JOSM 10279

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SelectRelationAction.java

    r30145 r32395  
     1// License: GPL. For details, see LICENSE file.
    12package relcontext.actions;
    23
    34import static org.openstreetmap.josm.tools.I18n.tr;
     5
    46import java.awt.event.ActionEvent;
     7
    58import javax.swing.AbstractAction;
     9
    610import org.openstreetmap.josm.Main;
    711import org.openstreetmap.josm.data.osm.Relation;
    812import org.openstreetmap.josm.tools.ImageProvider;
     13
    914import relcontext.ChosenRelation;
    1015import relcontext.ChosenRelationListener;
     
    1318    private ChosenRelation rel;
    1419
    15     public SelectRelationAction( ChosenRelation rel ) {
     20    public SelectRelationAction(ChosenRelation rel) {
    1621        super(tr("Select relation"));
    1722        putValue(SHORT_DESCRIPTION, tr("Select relation in main selection."));
     
    2227    }
    2328
    24     public void actionPerformed( ActionEvent e ) {
     29    @Override
     30    public void actionPerformed(ActionEvent e) {
    2531        Main.main.getEditLayer().data.setSelected(rel.get() == null ? null : rel.get());
    2632    }
    2733
    28     public void chosenRelationChanged( Relation oldRelation, Relation newRelation ) {
     34    @Override
     35    public void chosenRelationChanged(Relation oldRelation, Relation newRelation) {
    2936        setEnabled(newRelation != null);
    3037    }
Note: See TracChangeset for help on using the changeset viewer.