Ignore:
Timestamp:
2017-11-04T19:16:44+01:00 (7 years ago)
Author:
donvip
Message:

fix #josm13696, fix #josm14432 - NPE

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

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/dialogs/GTFSImporterDialog.java

    r33765 r33770  
    1919
    2020public class GTFSImporterDialog extends AbstractImporterDialog<GTFSImporterAction> {
    21     private JTable gtfsStopTable = null;
     21    private final JTable gtfsStopTable = new JTable();
    2222
    2323    public GTFSImporterDialog(GTFSImporterAction controller) {
     
    229229     controller.getFocusWaypointDeleteAction());*/
    230230
    231         gtfsStopTable = new JTable();
    232231        JScrollPane tableSP = new JScrollPane(gtfsStopTable);
    233232
  • applications/editors/josm/plugins/public_transport/src/org/openstreetmap/josm/plugins/public_transport/dialogs/StopImporterDialog.java

    r33765 r33770  
    3232    private JList<TrackReference> tracksList = null;
    3333
    34     private JTable stoplistTable = null;
    35 
    36     private JTable waypointTable = null;
     34    private final JTable stoplistTable = new JTable();
     35
     36    private final JTable waypointTable = new JTable();
    3737
    3838    public StopImporterDialog(StopImporterAction controller) {
     
    278278                controller.getFocusStoplistDeleteAction());
    279279
    280         stoplistTable = new JTable();
    281280        JScrollPane tableSP = new JScrollPane(stoplistTable);
    282281
     
    411410                controller.getFocusWaypointDeleteAction());
    412411
    413         waypointTable = new JTable();
    414412        tableSP = new JScrollPane(waypointTable);
    415413
Note: See TracChangeset for help on using the changeset viewer.