Ignore:
Timestamp:
2017-09-11T20:43:41+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - make FileWatcher generic so it has no more dependence on MapCSS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/preferences/sources/SourcePrefHelper.java

    r12649 r12825  
    1919
    2020    private final String pref;
     21    protected final SourceType type;
    2122
    2223    /**
    2324     * Constructs a new {@code SourcePrefHelper} for the given preference key.
    2425     * @param pref The preference key
     26     * @param type The source type
     27     * @since 12825
    2528     */
    26     public SourcePrefHelper(String pref) {
     29    public SourcePrefHelper(String pref, SourceType type) {
    2730        this.pref = pref;
     31        this.type = type;
    2832    }
    2933
Note: See TracChangeset for help on using the changeset viewer.