Ignore:
Timestamp:
2014-02-27T01:41:49+01:00 (10 years ago)
Author:
Don-vip
Message:

fix some Sonar issues (JLS order)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmApi.java

    r6875 r6889  
    5959     * Maximum number of retries to send a request in case of HTTP 500 errors or timeouts
    6060     */
    61     static public final int DEFAULT_MAX_NUM_RETRIES = 5;
     61    public static final int DEFAULT_MAX_NUM_RETRIES = 5;
    6262
    6363    /**
     
    6767     * @since 5386
    6868     */
    69     static public final int MAX_DOWNLOAD_THREADS = 2;
     69    public static final int MAX_DOWNLOAD_THREADS = 2;
    7070
    7171    /**
     
    7373     * @since 5422
    7474     */
    75     static public final String DEFAULT_API_URL = "http://api.openstreetmap.org/api";
     75    public static final String DEFAULT_API_URL = "http://api.openstreetmap.org/api";
    7676
    7777    // The collection of instantiated OSM APIs
     
    8888     *
    8989     */
    90     static public OsmApi getOsmApi(String serverUrl) {
     90    public static OsmApi getOsmApi(String serverUrl) {
    9191        OsmApi api = instances.get(serverUrl);
    9292        if (api == null) {
     
    102102     * @return the OsmApi
    103103     */
    104     static public OsmApi getOsmApi() {
     104    public static OsmApi getOsmApi() {
    105105        String serverUrl = Main.pref.get("osm-server.url", DEFAULT_API_URL);
    106106        return getOsmApi(serverUrl);
Note: See TracChangeset for help on using the changeset viewer.