Ignore:
Timestamp:
2013-08-21T03:47:16+02:00 (13 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
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java

    r26299 r29854  
    6262
    6363        this.ground = ground;
    64         ground_view = new fake_map_view(Main.map.mapView, 0.0000001);
     64        ground_view = new FakeMapView(Main.map.mapView, 0.0000001);
    6565
    6666        /* Retrieve start position */
     
    474474    }
    475475
    476     protected class sprite_pos implements Comparable {
     476    protected class sprite_pos implements Comparable<sprite_pos> {
    477477        double dist;
    478478
     
    483483        }
    484484
    485         public int compareTo(Object x) {
    486             sprite_pos other = (sprite_pos) x;
    487             return (int) ((other.dist - this.dist) * 1000000.0);
     485        public int compareTo(sprite_pos x) {
     486            return (int) ((x.dist - this.dist) * 1000000.0);
    488487        }
    489488    }
     
    700699        }
    701700    }
    702     protected fake_map_view ground_view;
     701    protected FakeMapView ground_view;
    703702}
Note: See TracChangeset for help on using the changeset viewer.