Ignore:
Timestamp:
2013-08-21T03:47:16+02:00 (12 years ago)
Author:
donvip
Message:

[josm_plugins] fix #8987 - bump min JOSM version of nearly all plugins to r6162 + code update/cleanup, fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbDownloadLoop.java

    r23191 r29854  
    3030import static org.openstreetmap.josm.tools.I18n.tr;
    3131
    32 import java.awt.geom.Point2D;
    3332import java.util.concurrent.TimeUnit;
    3433
    3534import org.openstreetmap.josm.Main;
     35import org.openstreetmap.josm.data.coor.EastNorth;
    3636
    3737public class OsbDownloadLoop extends Thread {
     
    4747    private OsbPlugin plugin;
    4848
    49     private Point2D lastCenter;
     49    private EastNorth lastCenter;
    5050
    5151    public OsbDownloadLoop() {
     
    7070                // zoomed the map
    7171                if(Main.map != null && Main.map.mapView != null) {
    72                     Point2D currentCenter = Main.map.mapView.getCenter();
     72                    EastNorth currentCenter = Main.map.mapView.getCenter();
    7373                    if(currentCenter != null && !currentCenter.equals(lastCenter)) {
    7474                        resetCountdown();
Note: See TracChangeset for help on using the changeset viewer.