Ignore:
Timestamp:
2018-08-12T14:52:47+02:00 (6 years ago)
Author:
Don-vip
Message:

see #15229 - code refactoring - make Preferences.getAllPossiblePreferenceDirs() static

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java

    r13993 r14145  
    2626import javax.swing.ImageIcon;
    2727
    28 import org.openstreetmap.josm.Main;
     28import org.openstreetmap.josm.data.Preferences;
    2929import org.openstreetmap.josm.data.Version;
    3030import org.openstreetmap.josm.tools.ImageProvider;
     
    416416     */
    417417    public static Collection<String> getPluginLocations() {
    418         Collection<String> locations = Main.pref.getAllPossiblePreferenceDirs();
     418        Collection<String> locations = Preferences.getAllPossiblePreferenceDirs();
    419419        Collection<String> all = new ArrayList<>(locations.size());
    420420        for (String s : locations) {
Note: See TracChangeset for help on using the changeset viewer.