Changeset 11589 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-02-20T21:40:33+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java
r11452 r11589 752 752 Main.fileWatcher.registerValidatorRule(source); 753 753 } 754 } catch (IOException ex) {754 } catch (IOException | IllegalStateException ex) { 755 755 Main.warn(tr("Failed to add {0} to tag checker", i)); 756 756 Main.warn(ex, false); -
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r11493 r11589 274 274 try { 275 275 Main.fileWatcher.registerStyleSource(source); 276 } catch (IOException e) {276 } catch (IOException | IllegalStateException e) { 277 277 Main.error(e); 278 278 } -
trunk/src/org/openstreetmap/josm/io/FileWatcher.java
r11535 r11589 52 52 */ 53 53 public final void start() { 54 if ( !thread.isAlive()) {54 if (thread != null && !thread.isAlive()) { 55 55 thread.start(); 56 56 }
Note:
See TracChangeset
for help on using the changeset viewer.