Ignore:
Timestamp:
2018-08-11T19:19:44+02:00 (16 months ago)
Author:
Don-vip
Message:

see #15229 - deprecate Main.fileWatcher

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java

    r13810 r14128  
    2929import java.util.regex.Pattern;
    3030
    31 import org.openstreetmap.josm.Main;
    3231import org.openstreetmap.josm.command.ChangePropertyCommand;
    3332import org.openstreetmap.josm.command.ChangePropertyKeyCommand;
     
    6261import org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.TokenMgrError;
    6362import org.openstreetmap.josm.io.CachedFile;
     63import org.openstreetmap.josm.io.FileWatcher;
    6464import org.openstreetmap.josm.io.IllegalDataException;
    6565import org.openstreetmap.josm.io.UTFInputStreamReader;
     
    762762                addMapCSS(i);
    763763                if (Config.getPref().getBoolean("validator.auto_reload_local_rules", true) && source.isLocal()) {
    764                     Main.fileWatcher.registerSource(source);
     764                    FileWatcher.getDefaultInstance().registerSource(source);
    765765                }
    766766            } catch (IOException | IllegalStateException | IllegalArgumentException ex) {
Note: See TracChangeset for help on using the changeset viewer.