Ignore:
Timestamp:
2016-09-02T20:40:51+02:00 (8 years ago)
Author:
donvip
Message:

checkstyle

Location:
applications/editors/josm/plugins/opendata/modules
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/modules/be.bruxelles/src/org/openstreetmap/josm/plugins/opendata/modules/be/bruxelles/BruxellesConstants.java

    r30731 r32897  
    22package org.openstreetmap.josm.plugins.opendata.modules.be.bruxelles;
    33
     4public interface BruxellesConstants {
    45
    5 public interface BruxellesConstants {
    6    
    76    /**
    87     * Source
    98     */
    10     public static final String SOURCE_BRUXELLES = "Ville de Bruxelles";
    11    
     9    String SOURCE_BRUXELLES = "Ville de Bruxelles";
     10
    1211    /**
    1312     * Portal
    1413     */
    15     public static final String PORTAL_EN = "http://www.brussels.be";
    16     public static final String PORTAL_FR = "http://www.bruxelles.be";
    17     public static final String PORTAL_NL = "http://www.brussel.be";
     14    String PORTAL_EN = "http://www.brussels.be";
     15    String PORTAL_FR = "http://www.bruxelles.be";
     16    String PORTAL_NL = "http://www.brussel.be";
    1817}
  • applications/editors/josm/plugins/opendata/modules/be.datagovbe/src/org/openstreetmap/josm/plugins/opendata/modules/be/datagovbe/DataGovBeConstants.java

    r30731 r32897  
    22package org.openstreetmap.josm.plugins.opendata.modules.be.datagovbe;
    33
     4public interface DataGovBeConstants {
    45
    5 public interface DataGovBeConstants {
    6    
    76    /**
    87     * Source
    98     */
    10     public static final String SOURCE_DATAGOVBE = "data.gov.be";
     9    String SOURCE_DATAGOVBE = "data.gov.be";
    1110}
  • applications/editors/josm/plugins/opendata/modules/fr.lemans/src/org/openstreetmap/josm/plugins/opendata/modules/fr/lemans/datasets/LeMansDataSetHandler.java

    r30731 r32897  
    1414
    1515public abstract class LeMansDataSetHandler extends FrenchDataSetHandler implements LeMansConstants {
    16    
     16
    1717    private String kmzUuid;
    1818    private String shpUuid;
    19    
     19
    2020    public LeMansDataSetHandler(String uuid) {
    2121        init(uuid);
    2222    }
    23    
     23
    2424    public LeMansDataSetHandler(String uuid, String relevantTag) {
    2525        super(relevantTag);
    2626        init(uuid);
    2727    }
    28    
     28
    2929    public LeMansDataSetHandler(String uuid, boolean relevantUnion, String ... relevantTags) {
    3030        super(relevantUnion, relevantTags);
     
    3636    }
    3737
    38    
    3938    public LeMansDataSetHandler(String uuid, boolean relevantUnion, Tag ... relevantTags) {
    4039        super(relevantUnion, relevantTags);
     
    4241    }
    4342
    44     private final void init(String uuid) {
     43    private void init(String uuid) {
    4544        try {
    4645            setLicense(License.ODbL);
     
    5251        }
    5352    }
    54        
     53
    5554    protected final void setKmzShpUuid(String kmzUuid, String shpUuid) {
    5655        this.kmzUuid = kmzUuid;
     
    6261        return SOURCE_LE_MANS;
    6362    }
    64    
     63
    6564    /*@Override
    6665    public URL getLicenseURL() {
     
    7776        List<Pair<String, URL>> result = new ArrayList<>();
    7877        try {
    79             if (kmzUuid != null && !kmzUuid.isEmpty()) result.add(new Pair<>(getName() + " (KMZ)", new URL(PORTAL + "download.do?uuid=" + kmzUuid)));
    80             if (shpUuid != null && !shpUuid.isEmpty()) result.add(new Pair<>(getName() + " (SHP)", new URL(PORTAL + "download.do?uuid=" + shpUuid)));
     78            if (kmzUuid != null && !kmzUuid.isEmpty())
     79                result.add(new Pair<>(getName() + " (KMZ)", new URL(PORTAL + "download.do?uuid=" + kmzUuid)));
     80            if (shpUuid != null && !shpUuid.isEmpty())
     81                result.add(new Pair<>(getName() + " (SHP)", new URL(PORTAL + "download.do?uuid=" + shpUuid)));
    8182        } catch (MalformedURLException e) {
    8283            e.printStackTrace();
  • applications/editors/josm/plugins/opendata/modules/fr.paris/src/org/openstreetmap/josm/plugins/opendata/modules/fr/paris/ParisConstants.java

    r30731 r32897  
    22package org.openstreetmap.josm.plugins.opendata.modules.fr.paris;
    33
     4public interface ParisConstants {
    45
    5 public interface ParisConstants {
    6        
    76    /**
    87     * Source
    98     */
    10     public static final String SOURCE = "opendataparis";
    11    
     9    String SOURCE = "opendataparis";
     10
    1211    /**
    1312     * Portal
    1413     */
    15     public static final String PORTAL = "http://opendata.paris.fr/opendata/";
     14    String PORTAL = "http://opendata.paris.fr/opendata/";
    1615
    1716    /**
    1817     * Icons
    1918     */
    20     public static final String ICON_PARIS_24 = "data.fr.paris_24.png";
     19    String ICON_PARIS_24 = "data.fr.paris_24.png";
    2120}
  • applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/transport/ChantiersLineairesHandler.java

    r30340 r32897  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.plugins.opendata.modules.fr.toulouse.datasets.transport;
    3 
    43
    54public class ChantiersLineairesHandler extends ChantiersHandler {
Note: See TracChangeset for help on using the changeset viewer.