Ignore:
Timestamp:
2018-06-11T03:23:10+02:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 13906

Location:
applications/editors/josm/plugins/public_transport
Files:
4 edited

Legend:

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

    r34166 r34265  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="13665"/>
     7    <property name="plugin.main.version" value="13906"/>
    88
    99    <property name="plugin.author" value="Roland M. Olbricht"/>
  • applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/actions/GTFSImporterAction.java

    r34166 r34265  
    3030import org.openstreetmap.josm.data.osm.OsmPrimitive;
    3131import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
     32import org.openstreetmap.josm.data.osm.visitor.PrimitiveVisitor;
    3233import org.openstreetmap.josm.gui.MainApplication;
    3334import org.openstreetmap.josm.plugins.public_transport.commands.GTFSAddCommand;
     
    311312            int j = consideredLines.elementAt(i);
    312313            if (nodes.elementAt(j) != null)
    313                 nodes.elementAt(j).accept(box);
     314                nodes.elementAt(j).accept((PrimitiveVisitor) box);
    314315        }
    315316        if (box.getBounds() == null)
  • applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/actions/RoutePatternAction.java

    r33768 r34265  
    5353import org.openstreetmap.josm.data.osm.Way;
    5454import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
     55import org.openstreetmap.josm.data.osm.visitor.PrimitiveVisitor;
    5556import org.openstreetmap.josm.gui.MainApplication;
    5657import org.openstreetmap.josm.plugins.public_transport.models.ItineraryTableModel;
     
    10921093                    if ((itineraryTable.isRowSelected(i))
    10931094                            && (itineraryData.ways.elementAt(i) != null)) {
    1094                         itineraryData.ways.elementAt(i).accept(box);
     1095                        itineraryData.ways.elementAt(i).accept((PrimitiveVisitor) box);
    10951096                    }
    10961097                }
     
    10981099                for (int i = 0; i < itineraryData.getRowCount(); ++i) {
    10991100                    if (itineraryData.ways.elementAt(i) != null) {
    1100                         itineraryData.ways.elementAt(i).accept(box);
     1101                        itineraryData.ways.elementAt(i).accept((PrimitiveVisitor) box);
    11011102                    }
    11021103                }
     
    13241325                for (int i = 0; i < stoplistData.getRowCount(); ++i) {
    13251326                    if (stoplistTable.isRowSelected(i)) {
    1326                         stoplistData.nodes.elementAt(i).accept(box);
     1327                        stoplistData.nodes.elementAt(i).accept((PrimitiveVisitor) box);
    13271328                    }
    13281329                }
    13291330            } else {
    13301331                for (int i = 0; i < stoplistData.getRowCount(); ++i) {
    1331                     stoplistData.nodes.elementAt(i).accept(box);
     1332                    stoplistData.nodes.elementAt(i).accept((PrimitiveVisitor) box);
    13321333                }
    13331334            }
  • applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/actions/StopImporterAction.java

    r34166 r34265  
    3434import org.openstreetmap.josm.data.osm.OsmPrimitive;
    3535import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
     36import org.openstreetmap.josm.data.osm.visitor.PrimitiveVisitor;
    3637import org.openstreetmap.josm.gui.MainApplication;
    3738import org.openstreetmap.josm.io.GpxReader;
     
    342343            int j = consideredLines.elementAt(i);
    343344            if (nodes.elementAt(j) != null)
    344                 nodes.elementAt(j).accept(box);
     345                nodes.elementAt(j).accept((PrimitiveVisitor) box);
    345346        }
    346347        if (box.getBounds() == null)
Note: See TracChangeset for help on using the changeset viewer.