Ignore:
Timestamp:
2018-05-17T21:08:31+02:00 (7 years ago)
Author:
donvip
Message:

fix #josm16299 - http -> https

Location:
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/OdConstants.java

    r34018 r34196  
    3434
    3535    public static final String PREF_OAPI = "opendata.oapi";
    36     public static final String DEFAULT_OAPI = "http://www.overpass-api.de/api/interpreter?";
     36    public static final String DEFAULT_OAPI = "https://www.overpass-api.de/api/interpreter?";
    3737
    3838    public static final String PREF_XAPI = "opendata.xapi";
    39     public static final String DEFAULT_XAPI = "http://www.overpass-api.de/api/xapi?";
     39    public static final String DEFAULT_XAPI = "https://www.overpass-api.de/api/xapi?";
    4040
    4141    public static final String PREF_RAWDATA = "opendata.rawdata";
     
    5050    public static final String PREF_MODULES = "opendata.modules";
    5151    public static final String PREF_MODULES_SITES = "opendata.modules.sites";
    52     public static final String OSM_SITE = "http://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/";
     52    public static final String OSM_SITE = "https://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/";
    5353    public static final String[] DEFAULT_MODULE_SITES = {OSM_SITE + "modules.txt%<?modules=>"};
    5454
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/be/BelgianConstants.java

    r32545 r34196  
    99     * Portal
    1010     */
    11     String BELGIAN_PORTAL = "http://data.gov.be/"+OdConstants.PATTERN_LANG+"/dataset/";
     11    String BELGIAN_PORTAL = "https://data.gov.be/"+OdConstants.PATTERN_LANG+"/dataset/";
    1212
    1313    /**
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/fr/FrenchConstants.java

    r32545 r34196  
    77     * Portal
    88     */
    9     String FRENCH_PORTAL = "http://www.data.gouv.fr/";
     9    String FRENCH_PORTAL = "https://www.data.gouv.fr/";
    1010
    1111    /**
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/InputStreamReaderUnbuffered.java

    r30575 r34196  
    1212/**
    1313 * An InputStreamReader that only consumes as many bytes as is necessary.
    14  * It does not do any read-ahead. From http://stackoverflow.com/q/2631507/2257172
     14 * It does not do any read-ahead. From https://stackoverflow.com/q/2631507/2257172
    1515 */
    1616public class InputStreamReaderUnbuffered extends Reader {
    17    
     17
    1818    private final CharsetDecoder charsetDecoder;
    1919    private final InputStream inputStream;
     
    5959    }
    6060
     61    @Override
    6162    public int read(char[] cbuf, int off, int len) throws IOException {
    6263        for (int i = 0; i < len; i++) {
     
    7273    }
    7374
     75    @Override
    7476    public void close() throws IOException {
    7577        inputStream.close();
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/geographic/ShpReader.java

    r34017 r34196  
    188188                } else {
    189189                    String path = file.getAbsolutePath();
    190                     // See http://gis.stackexchange.com/a/3663/17245
     190                    // See https://gis.stackexchange.com/a/3663/17245
    191191                    path = path.substring(0, path.lastIndexOf('.')) + ".cpg";
    192192                    Path cpg = new File(path).toPath();
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/licenses/LOOL.java

    r30723 r34196  
    66
    77public class LOOL extends License {
    8    
    9     //public static final String URL_FR = "http://www.data.gouv.fr/Licence-Ouverte-Open-Licence";
    10    
     8
     9    //public static final String URL_FR = "https://www.etalab.gouv.fr/licence-ouverte-open-licence";
     10
    1111    public LOOL() {
    1212        setIcon(OdUtils.getImageIcon(OdConstants.ICON_LOOL_48, true));
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/licenses/ODbL.java

    r30723 r34196  
    55
    66public class ODbL extends License {
    7    
    8     //public static final String URL            = "http://opendatacommons.org/licenses/odbl/1-0";
    9     //public static final String SUMMARY_URL    = "http://opendatacommons.org/licenses/odbl/summary";
    10     //public static final String URL_FR         = "http://vvlibri.org/fr/licence/odbl/10/fr/legalcode#La_Licence_ODbL";
     7
     8    //public static final String URL            = "https://opendatacommons.org/licenses/odbl/1-0";
     9    //public static final String SUMMARY_URL    = "https://opendatacommons.org/licenses/odbl/summary";
     10    //public static final String URL_FR         = "https://vvlibri.org/fr/licence/odbl-10/legalcode/unofficial";
    1111    //public static final String SUMMARY_URL_FR = "http://vvlibri.org/fr/licence/odbl/10/fr";
    12    
     12
    1313    public ODbL() {
    1414        for (String lang : new String[]{"", "fr"}) {
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules/ModuleListParser.java

    r32545 r34196  
    1616 * A parser for the module list provided by an opendata Module Download Site.
    1717 *
    18  * See <a href="http://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a>
     18 * See <a href="https://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a>
    1919 * for a sample of the document. The format is a custom format, kind of mix of CSV and RFC822 style
    2020 * name/value-pairs.
     
    4949     * Parses a module information document and replies a list of module information objects.
    5050     *
    51      * See <a href="http://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a>
     51     * See <a href="https://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a>
    5252     * for a sample of the document. The format is a custom format, kind of mix of CSV and RFC822 style
    5353     * name/value-pairs.
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/modules/ReadLocalModuleInformationTask.java

    r34151 r34196  
    3232 *   <li>.jar.new-files, assuming that these are downloaded but not yet installed modules</li>
    3333 *   <li>cached lists of available modules, downloaded for instance from
    34  *   <a href="http://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a></li>
     34 *   <a href="https://svn.openstreetmap.org/applications/editors/josm/plugins/opendata/modules.txt">OSM SVN</a></li>
    3535 * </ul>
    3636 */
Note: See TracChangeset for help on using the changeset viewer.