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

[josm_plugins] fix various compilation warnings

Location:
applications/editors/josm/plugins/infomode/src/org/openstreetmap/josm/plugins/infomode
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/infomode/src/org/openstreetmap/josm/plugins/infomode/InfoMode.java

    r27852 r30701  
    4747    private MapView mv;
    4848    private String statusText;
    49     private boolean drawing;
    50     private boolean ctrl;
     49    //private boolean drawing;
     50    //private boolean ctrl;
    5151    private boolean shift;
    52     private boolean oldCtrl;
    53     private boolean oldShift;
     52    //private boolean oldCtrl;
     53    //private boolean oldShift;
    5454    private EastNorth pos;
    5555    private WayPoint wpOld;
     
    195195    @Override
    196196    protected void updateKeyModifiers(InputEvent e) {
    197         oldCtrl = ctrl;
    198         oldShift = shift;
     197        //oldCtrl = ctrl;
     198        //oldShift = shift;
    199199        ctrl = (e.getModifiers() & ActionEvent.CTRL_MASK) != 0;
    200200        shift = (e.getModifiers() & ActionEvent.SHIFT_MASK) != 0;
     
    213213        if (Main.map!=null) Main.map.mapView.repaint();
    214214    }
    215     private void setStatusLine(String tr) {
     215    /*private void setStatusLine(String tr) {
    216216        statusText=tr;
    217217        updateStatusLine();
    218     }
     218    }*/
    219219
    220220    private synchronized void filterTracks() {
  • applications/editors/josm/plugins/infomode/src/org/openstreetmap/josm/plugins/infomode/InfoPanel.java

    r27492 r30701  
    11package org.openstreetmap.josm.plugins.infomode;
    22
    3 import java.awt.Color;
    43import java.awt.event.MouseEvent;
    54import java.util.HashSet;
Note: See TracChangeset for help on using the changeset viewer.