Changeset 14327 in josm for trunk/src


Ignore:
Timestamp:
2018-10-14T14:15:06+02:00 (6 years ago)
Author:
Don-vip
Message:

checkstyle/unit test fixes

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/imagery/CommonSettingsPanel.java

    r14295 r14327  
    8989
    9090        boolean restartRequired = false;
    91         restartRequired |= removeCacheFiles(CachedTileLoaderFactory.PROP_TILECACHE_DIR.get(), 1024L * 1024L * ((Integer) this.maxElementsOnDisk.getValue()));
     91        restartRequired |= removeCacheFiles(CachedTileLoaderFactory.PROP_TILECACHE_DIR.get(),
     92                1024L * 1024L * ((Integer) this.maxElementsOnDisk.getValue()));
    9293
    9394        if (!AbstractCachedTileSourceLayer.MAX_DISK_CACHE_SIZE.get().equals(this.maxElementsOnDisk.getValue())) {
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r14317 r14327  
    88import java.awt.Component;
    99import java.awt.Font;
    10 import java.awt.GraphicsEnvironment;
    1110import java.awt.GridBagConstraints;
    1211import java.awt.GridBagLayout;
     
    12081207    }
    12091208
     1209    /**
     1210     * Called in the download dialog to give the plugins a chance to modify the list
     1211     * of bounding box selectors.
     1212     * @param downloadSelections list of bounding box selectors
     1213     */
    12101214    public static void addDownloadSelection(List<DownloadSelection> downloadSelections) {
    12111215        for (PluginProxy p : pluginList) {
     
    12141218    }
    12151219
     1220    /**
     1221     * Returns the list of plugin preference settings.
     1222     * @return the list of plugin preference settings
     1223     */
    12161224    public static Collection<PreferenceSettingFactory> getPreferenceSetting() {
    12171225        Collection<PreferenceSettingFactory> settings = new ArrayList<>();
Note: See TracChangeset for help on using the changeset viewer.