Ignore:
Timestamp:
2017-09-14T15:09:01+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - add parameter to base directory methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java

    r12855 r12856  
    477477    public File getDefaultUserDataDirectory() {
    478478        // Use preferences directory by default
    479         return Config.getDirs().getPreferencesDirectory();
     479        return Config.getDirs().getPreferencesDirectory(false);
    480480    }
    481481
     
    522522            props.load(fis);
    523523            byte[] content = Files.readAllBytes(templateFile);
    524             File cachePath = Config.getDirs().getCacheDirectory();
     524            File cachePath = Config.getDirs().getCacheDirectory(true);
    525525            Path fontconfigFile = cachePath.toPath().resolve("fontconfig.properties");
    526526            OutputStream os = Files.newOutputStream(fontconfigFile);
Note: See TracChangeset for help on using the changeset viewer.