Ignore:
Timestamp:
2014-10-04T17:28:45+02:00 (10 years ago)
Author:
donvip
Message:

[josm_plugins] fix various compilation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointDialog.java

    r29854 r30701  
    9898
    9999    private static final class PreviousAction extends JosmAction {
    100     private static final long serialVersionUID = -7899209365124237890L;
    101 
    102     private final ImageWayPointDialog dialog;
    103 
    104     public PreviousAction(final ImageWayPointDialog dialog) {
     100
     101    public PreviousAction() {
    105102        super(tr("Previous"),
    106103        null,
     
    108105        null,
    109106        false);
    110         this.dialog = dialog;
    111107    }
    112108
     
    119115
    120116    private static final class NextAction extends JosmAction {
    121     private static final long serialVersionUID = 176134010956760988L;
    122 
    123     private final ImageWayPointDialog dialog;
    124 
    125     public NextAction(final ImageWayPointDialog dialog) {
     117
     118    public NextAction() {
    126119        super(tr("Next"), null, tr("Next image"), null, false);
    127         this.dialog = dialog;
    128120    }
    129121
     
    136128
    137129    private static final class RotateLeftAction extends JosmAction {
    138     private static final long serialVersionUID = 3536922796446259943L;
    139 
    140     private final ImageWayPointDialog dialog;
    141 
    142     public RotateLeftAction(final ImageWayPointDialog dialog) {
     130
     131    public RotateLeftAction() {
    143132        super(tr("Rotate left"),
    144133        null,
     
    146135        null,
    147136        false);
    148         this.dialog = dialog;
    149137    }
    150138
     
    155143
    156144    private static final class RotateRightAction extends JosmAction {
    157     private static final long serialVersionUID = 1760186810341888993L;
    158 
    159     private final ImageWayPointDialog dialog;
    160 
    161     public RotateRightAction(final ImageWayPointDialog dialog) {
     145
     146    public RotateRightAction() {
    162147        super(tr("Rotate right"),
    163148        null,
     
    165150        null,
    166151        false);
    167         this.dialog = dialog;
    168152    }
    169153
     
    191175        200);
    192176
    193     this.previousAction = new PreviousAction(this);
    194     this.nextAction = new NextAction(this);
    195     this.rotateLeftAction = new RotateLeftAction(this);
    196     this.rotateRightAction = new RotateRightAction(this);
     177    this.previousAction = new PreviousAction();
     178    this.nextAction = new NextAction();
     179    this.rotateLeftAction = new RotateLeftAction();
     180    this.rotateRightAction = new RotateRightAction();
    197181
    198182    final JButton previousButton = new JButton(this.previousAction);
Note: See TracChangeset for help on using the changeset viewer.