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

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

Location:
applications/editors/josm/plugins/reltoolbox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/build.xml

    r29435 r29854  
    44    <property name="commit.message" value="RelToolbox: make natural sort for relation and find relation lists"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5613"/>
     6    <property name="plugin.main.version" value="6162"/>
    77
    88    <property name="plugin.author" value="Ilya Zverev"/>
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SplittingMultipolygons.java

    r26952 r29854  
    22
    33import java.awt.geom.Area;
     4
    45import static org.openstreetmap.josm.tools.I18n.tr;
     6
    57import java.util.*;
     8
    69import org.openstreetmap.josm.Main;
    710import org.openstreetmap.josm.command.*;
    811import org.openstreetmap.josm.data.coor.EastNorth;
     12import org.openstreetmap.josm.data.coor.LatLon;
    913import org.openstreetmap.josm.data.osm.*;
    1014import org.openstreetmap.josm.gui.DefaultNameFormatter;
     
    2731                return false;
    2832            for( Node n : way.getNodes() ) {
    29                 if( n.isIncomplete() || (a != null && !a.contains(n.getCoor())) )
    30                     return false;
     33                LatLon ll = n.getCoor();
     34                if( n.isIncomplete() || (a != null && !a.contains(ll.getX(), ll.getY())) )
     35                    return false;
    3136            }
    3237            if( way.isClosed() )
Note: See TracChangeset for help on using the changeset viewer.