Changeset 6905 in josm for trunk/src/org


Ignore:
Timestamp:
2014-03-09T23:29:57+01:00 (11 years ago)
Author:
stoecker
Message:

see #9778 - delay initialisation of plugin download URL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r6897 r6905  
    13051305
    13061306    /**
    1307      * The default plugin site
    1308      */
    1309     private static final String[] DEFAULT_PLUGIN_SITE = {Main.getJOSMWebsite()+"/plugin%<?plugins=>"};
    1310 
    1311     /**
    13121307     * Replies the collection of plugin site URLs from where plugin lists can be downloaded.
    13131308     * @return the collection of plugin site URLs
    13141309     */
    13151310    public Collection<String> getPluginSites() {
    1316         return getCollection("pluginmanager.sites", Arrays.asList(DEFAULT_PLUGIN_SITE));
     1311        return getCollection("pluginmanager.sites", Collections.singleton(Main.getJOSMWebsite()+"/plugin%<?plugins=>"));
    13171312    }
    13181313
Note: See TracChangeset for help on using the changeset viewer.