Changeset 10212 in josm for trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
- Timestamp:
- 2016-05-15T00:51:10+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
r10208 r10212 162 162 163 163 /** 164 * Check if plugindirectory exists (store ignored errors file)164 * Check if validator directory exists (store ignored errors file) 165 165 */ 166 166 private static void checkValidatorDir() { 167 try { 168 File pathDir = new File(getValidatorDir()); 169 if (!pathDir.exists()) { 170 Utils.mkDirs(pathDir); 171 } 172 } catch (Exception e) { 173 Main.error(e); 167 File pathDir = new File(getValidatorDir()); 168 if (!pathDir.exists()) { 169 Utils.mkDirs(pathDir); 174 170 } 175 171 }
Note:
See TracChangeset
for help on using the changeset viewer.