Ignore:
Timestamp:
2014-03-24T16:56:10+01:00 (11 years ago)
Author:
donvip
Message:

[josm_opendata] code cleanup

Location:
applications/editors/josm/plugins/opendata/modules/fr.sncf/src/org/openstreetmap/josm/plugins/opendata/modules/fr/sncf
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/modules/fr.sncf/src/org/openstreetmap/josm/plugins/opendata/modules/fr/sncf/SncfConstants.java

    r28000 r30340  
    1 //    JOSM opendata plugin.
    2 //    Copyright (C) 2011-2012 Don-vip
    3 //
    4 //    This program is free software: you can redistribute it and/or modify
    5 //    it under the terms of the GNU General Public License as published by
    6 //    the Free Software Foundation, either version 3 of the License, or
    7 //    (at your option) any later version.
    8 //
    9 //    This program is distributed in the hope that it will be useful,
    10 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    11 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12 //    GNU General Public License for more details.
    13 //
    14 //    You should have received a copy of the GNU General Public License
    15 //    along with this program.  If not, see <http://www.gnu.org/licenses/>.
     1// License: GPL. For details, see LICENSE file.
    162package org.openstreetmap.josm.plugins.opendata.modules.fr.sncf;
    173
  • applications/editors/josm/plugins/opendata/modules/fr.sncf/src/org/openstreetmap/josm/plugins/opendata/modules/fr/sncf/SncfLicense.java

    r28113 r30340  
    1 //    JOSM opendata plugin.
    2 //    Copyright (C) 2011-2012 Don-vip
    3 //
    4 //    This program is free software: you can redistribute it and/or modify
    5 //    it under the terms of the GNU General Public License as published by
    6 //    the Free Software Foundation, either version 3 of the License, or
    7 //    (at your option) any later version.
    8 //
    9 //    This program is distributed in the hope that it will be useful,
    10 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    11 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12 //    GNU General Public License for more details.
    13 //
    14 //    You should have received a copy of the GNU General Public License
    15 //    along with this program.  If not, see <http://www.gnu.org/licenses/>.
     1// License: GPL. For details, see LICENSE file.
    162package org.openstreetmap.josm.plugins.opendata.modules.fr.sncf;
    173
  • applications/editors/josm/plugins/opendata/modules/fr.sncf/src/org/openstreetmap/josm/plugins/opendata/modules/fr/sncf/SncfModule.java

    r28143 r30340  
    1 //    JOSM opendata plugin.
    2 //    Copyright (C) 2011-2012 Don-vip
    3 //
    4 //    This program is free software: you can redistribute it and/or modify
    5 //    it under the terms of the GNU General Public License as published by
    6 //    the Free Software Foundation, either version 3 of the License, or
    7 //    (at your option) any later version.
    8 //
    9 //    This program is distributed in the hope that it will be useful,
    10 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    11 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12 //    GNU General Public License for more details.
    13 //
    14 //    You should have received a copy of the GNU General Public License
    15 //    along with this program.  If not, see <http://www.gnu.org/licenses/>.
     1// License: GPL. For details, see LICENSE file.
    162package org.openstreetmap.josm.plugins.opendata.modules.fr.sncf;
    173
  • applications/editors/josm/plugins/opendata/modules/fr.sncf/src/org/openstreetmap/josm/plugins/opendata/modules/fr/sncf/datasets/EquipementsHandler.java

    r28113 r30340  
    1 //    JOSM opendata plugin.
    2 //    Copyright (C) 2011-2012 Don-vip
    3 //
    4 //    This program is free software: you can redistribute it and/or modify
    5 //    it under the terms of the GNU General Public License as published by
    6 //    the Free Software Foundation, either version 3 of the License, or
    7 //    (at your option) any later version.
    8 //
    9 //    This program is distributed in the hope that it will be useful,
    10 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    11 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12 //    GNU General Public License for more details.
    13 //
    14 //    You should have received a copy of the GNU General Public License
    15 //    along with this program.  If not, see <http://www.gnu.org/licenses/>.
     1// License: GPL. For details, see LICENSE file.
    162package org.openstreetmap.josm.plugins.opendata.modules.fr.sncf.datasets;
    173
     
    2612                @Override
    2713                public LatLon getCoor(EastNorth en, String[] fields) {
    28                         // Lambert II coordinates offset by 2000000 (see http://fr.wikipedia.org/wiki/Projection_conique_conforme_de_Lambert#Projections_officielles_en_France_métropolitaine)
     14                        // Lambert II coordinates offset by 2000000 (see https://fr.wikipedia.org/wiki/Projection_conique_conforme_de_Lambert#Projections_officielles_en_France_métropolitaine)
    2915                        return super.getCoor(new EastNorth(en.getX(), en.getY()-2000000), fields);
    3016                }
  • applications/editors/josm/plugins/opendata/modules/fr.sncf/src/org/openstreetmap/josm/plugins/opendata/modules/fr/sncf/datasets/SncfDataSetHandler.java

    r28113 r30340  
    1 //    JOSM opendata plugin.
    2 //    Copyright (C) 2011-2012 Don-vip
    3 //
    4 //    This program is free software: you can redistribute it and/or modify
    5 //    it under the terms of the GNU General Public License as published by
    6 //    the Free Software Foundation, either version 3 of the License, or
    7 //    (at your option) any later version.
    8 //
    9 //    This program is distributed in the hope that it will be useful,
    10 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
    11 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12 //    GNU General Public License for more details.
    13 //
    14 //    You should have received a copy of the GNU General Public License
    15 //    along with this program.  If not, see <http://www.gnu.org/licenses/>.
     1// License: GPL. For details, see LICENSE file.
    162package org.openstreetmap.josm.plugins.opendata.modules.fr.sncf.datasets;
    173
     
    4228                this(portalId, false, relevantTags);
    4329        }
    44 
    45         /*public ToulouseDataSetHandler(int portalId, Tag relevantTag) {
    46                 super(relevantTag);
    47                 init(portalId);
    48         }*/
    4930       
    5031        public SncfDataSetHandler(String portalId, boolean relevantUnion, Tag ... relevantTags) {
     
    5334        }
    5435
    55         /*public ToulouseDataSetHandler(int portalId, Tag ... relevantTags) {
    56                 this(portalId, false, relevantTags);
    57         }*/
    58        
    5936        private final void init(String portalId) {
    6037                setLicense(new SncfLicense());
     
    6845        }
    6946
    70         /* (non-Javadoc)
    71          * @see org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler#getSource()
    72          */
    7347        @Override
    7448        public String getSource() {
     
    7650        }
    7751
    78         /* (non-Javadoc)
    79          * @see org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler#getLocalPortalIconName()
    80          */
    8152        @Override
    8253        public String getLocalPortalIconName() {
     
    8455        }
    8556
    86         /* (non-Javadoc)
    87          * @see org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler#getDataLayerIconName()
    88          */
    8957        @Override
    9058        public String getDataLayerIconName() {
Note: See TracChangeset for help on using the changeset viewer.